Post Page Advertisement [Top]

python program

write a program in python to check weather the given year is leap year or not ?

A program to check weather the given year is leap year or not ?


code:

x=int(input("Enter year"))if x%4==0:    print(x,"is a leap year")else:    print(x,"is not a leap year")

DizIT_Operators
Thank-you

No comments:

Post a Comment

Bottom Ad [Post Page]