ef leap_year(year): return (year//4==0 and year//100!=0) or (year //400==0) def which_day(year,month,day): total=0 days_of_month=[31,28,31,30,31,30,31,31,30,31,30,31] for index in range (month-1): total += days_of_month[index] if month >2 and leap_ye