Python program to check Leap year.
print("Enter a year to be check whether it is leap year or not :") y=int(input()) if y%4==0: print("yes!this is a leap year") else: print("this is not a leap year")
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.