leap year

 avatar
unknown
plain_text
2 years ago
212 B
2
Indexable
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")