CBSE BOARD X, asked by l9547555067, 9 days ago

Create a program in python to find if a year is a leap year or not. A year is a leap year, if it is divisible by 4​

Answers

Answered by cl878496
1

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!)

Answered by shriharsan2012
3

Answer:

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!)

Explanation:

I have typed what I know

have a nice day ☺️

Similar questions