<filename>leap-year.py
#!/usr/bin/env python3

year = int(input())

print((year % 400) == 0 or (year % 4) == 0 and (year % 100) != 0)

<filename>leap-year.py
#!/usr/bin/env python3

year = int(input())

print((year % 400) == 0 or (year % 4) == 0 and (year % 100) != 0)

#!/usr/bin/env python3