1.

Write a program to check if the year is leap year or not?

Answer»

n = int (input(“Enter any year”))

if (n % 4 = 0):

print “Leap Year”

else:

print “Not a Leap Year”

Output:

Enter any Year 2000

Leap Year



Discussion

No Comment Found