計算在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
相關文章
相關標籤/搜索