write a python program to find given year is leap year or not.

 

year = int(input("Enter Year :"))
if year % 400 == 0:
    print("Century leap year")
elif year % 4 == 0:
    print("leap year")
else:
    print("not a leap year")  

Comments