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