পাইথন

উইকিবই থেকে
Jump to navigation Jump to search

a=int(input("enter a year="))

if a%4==0:

   print("this is a leapyear")

elif a%100==0:

   print("this is leapyear")

elif a%400==0:

   print("this is leapyear")

else:

   print("its not leapyear")