Files
exercism/python/leap/leap.py
2019-07-13 04:16:23 -05:00

2 lines
108 B
Python

def leap_year(year):
return (year % 100 == 0 and year % 400 == 0) or (year % 100 != 0 and year % 4 == 0)