def previous_month(date):
    """
    Return the previous month for a given date
    """
    year = date[0]
    month = date[1]
    new_year = year
    new_month = month - 1

    if new_month == 0:
        new_year -= 1
        new_month = 12

    return (new_year, new_month)