Answer:
Enter a year: 1989
Given the year 1989, is not a leap year
Step-by-step explanation:
Python program for the question is as follows:
yr = int(input(" Enter a year: ")) #enter the value of the year
if (yr%4==0 and yr%100==0 or yr%400==0): #leap year condition
print("Given year{0}, is a leap year".format(y))
else: #else condition
print("Given year{0}, is not a leap year".format(y))