Jul-02-2020, 03:16 PM
Actually, your code is right
When it comes to years like 1000, 2000, 100, 500 it is divided by 400, not 4 and if there is no remainder, it isn't a leap year
When it comes to years like 1000, 2000, 100, 500 it is divided by 400, not 4 and if there is no remainder, it isn't a leap year
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs