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")
Tech Library For Developers
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")