This commit is contained in:
Xevion
2019-07-13 04:16:23 -05:00
parent f10c9ee99c
commit d558cf2d6c
15 changed files with 90 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
def leap_year(year):
return (year % 100 == 0 and year % 400 == 0) or (year % 100 != 0 and year % 4 == 0)