Computer Science, asked by smartykabirrrr444, 20 days ago

Write a program to input a year. Check and display whether the year is leap year or not. python question enter output too

Answers

Answered by pranavbhave14
0

Answer:

The program output is also shown below. year=int(input("Enter year to be checked:")) if(year%4==0 and year%100!= 0 or year%400==0): print("The year is a leap year!) else: print("The year isn't a leap year!)

Similar questions