Simple leap year calculator just wondering if the logic is good. All the numbers I've tested so far have worked out
def LeapYear(year):
if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0):
return True
1 reply to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









