mirror of
https://github.com/tiennm99/CodePower.git
synced 2026-06-06 18:12:20 +00:00
8 lines
176 B
Python
8 lines
176 B
Python
def is_leap(year):
|
|
leap = False
|
|
if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0:
|
|
leap = True
|
|
return leap
|
|
|
|
year = int(input())
|
|
print(is_leap(year)) |