list1=input().split() # print(list1) # 字典定义每个月的天数 # (1)平年 dict1={1:31,2:28,3:31,4:30,5:31,6:30,7:31,8:31,9:30,10:31,11:30,12:31} # (2)闰年 dict2={1:31,2:29,3:31,4:30,5:31,6:30,7:31,8:31,9:30,10:31,11:30,12:31} # 提取输入参数的年月日 year,month,day=list1[0],list1[1],list1[2] # 判断是不是闰年 flag=0 if int(year)%400==0 ...