⒈能被4整除,但不能被100整除;
⒉能被400整除;
mon=[31, 28, 31, 30, 31, 30,31,31, 30, 31,30,31] #mon 中存储1-12每个月的天数
s=input("请输入年月日: ")
year=int(s[:4])
month=int (s[5:7])
sum=0
for i in range ( ):
sum+=mon[i]
sum+=day
if :
isleap=True
else:
isleap=False
if
sum+=1
print(“这一天是当年的第”+str (sum) +“天”)’