Untitled
unknown
plain_text
10 months ago
353 B
5
Indexable
is_leap_year = False
input_year = int(input())
if input_year %4 != 0:
print(f'{input_year} - not a leap year')
else:
if input_year % 100 == 0:
if input_year %400 == 0:
print(f'{input_year} - leap year')
else:
print(f'{input_year} - not a leap year')
else:
print(f'{input _year} - leap year')
Editor is loading...
Leave a Comment