def get_month(date):
    """Extract month as form receiving string dd/mm/yyyy or mm/yyyy

    Args:
        date (string): Date formate dd/mm/yyyy

    Returns:
        mm: string with month.
    """
    num_chars = len(date)
    if num_chars == 10:
        return date.split("/")[1]
    elif num_chars == 7:
        return date.split("/")[0]