闰年:能被400整除 or 能被4整除且不能被100整除 def get_ans(year,month,date): year,month,date=int(year),int(month),int(date) month_date1=[31,28,31,30,31,30,31,31,30,31,30,31] month_date2=[31,29,31,30,31,30,31,31,30,31,30,31] ans=0 if year%400==0 or ( year%4==0 and year%100!=0): ans+=sum(mon...