write a python program to check if the input year is leap year or not .
year =int(input("Enter a Year :"))
if year %4==0 and year%100!=0 or year%400==0:
print(year,"is a Leap Year ")
else:
print(year,"is not a Leap Year")
for execution and output so check the video.
Comments
Post a Comment