SOLVED | pls help.days between dates-SL code tutorial.5th test can't be passed.whats the error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

SOLVED | pls help.days between dates-SL code tutorial.5th test can't be passed.whats the error?

https://code.sololearn.com/cSPZ7z56GehY/?ref=app

12th Jun 2022, 2:08 PM
dottxt | off
dottxt | off - avatar
1 Answer
+ 3
Not checked full but i think your leap year calculation is wrong.. 2000 leap year February 1, 2000 March 1, 2000 Output : 27 =>correct one 28 February 1, 2001 March 1, 2001 Output : 28 => must be 27 only.. is not it?
12th Jun 2022, 8:41 PM
Jayakrishna 🇮🇳