Computer Science, asked by nanu2987, 11 months ago

How to Check Leap Year using Python?

Answers

Answered by ansistkharms
0
year=int(input("Enter year to be checked:")) if(year%4==0 and year%100!=0 oryear%400==0): print("The year is a leap year!) else: print("The year isn't a leap year!)


I hope I help you


please don't forget to follow me
Similar questions