# # return (year % 4 == 0 and year % 100 != 0) or year % 400 == 0
# 判断是否为闰年
# def leap(n,m):
# ret =[]
# for i in range(n,m):
# if (i % 4 ==0 and i %100 !=0) or i %400==0:
# c = i
# ret.append(c)
# return ret
# print(leap(1000,2050))
posted on
2019-12-28 10:14libra-gyf
阅读(95)
评论(0)
收藏举报