leap year

mail@pastecode.io avatar
unknown
plain_text
a year ago
212 B
1
Indexable
Never
year=int(input("year ="))
if year % 4  == 0:
    if year % 100 != 0:
        print("The year is leap year")
    else:
        print("The year is not leap year")
else:
    print("The year is not leap year")