python 判断闰年
先看看原理:
def isLeapYear(year):
if not year%4 and year%100 or not year%400:
return True
return False
先看看原理:
def isLeapYear(year):
if not year%4 and year%100 or not year%400:
return True
return False