mirror of
https://github.com/Xevion/exercism.git
synced 2025-12-06 03:15:01 -06:00
2 lines
108 B
Python
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) |