Files
CodePower/Python/Ham.py
T
2025-12-21 10:20:08 +07:00

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))