def is_leap_year(year):
return year % 4 == 0 and year % 100 != 0 or year % 400 == 0
def which_day(year
计算指定的年月日是这一年的第几天
最新推荐文章于 2024-04-12 09:49:16 发布
def is_leap_year(year):
return year % 4 == 0 and year % 100 != 0 or year % 400 == 0
def which_day(year