计算在1901年1月1日至2000年12月31日间共有多少个星期天落在每个月的第一天上

#coding=utf-8 import math def isleapyear(year): if (year%4==0 and year%100!=0) or year%400==0: return 1 def dayofmonth(month,year): if month in (1,3,5,7,8,10,12): return 31
相关文章
相关标签/搜索