+ 2

What is the error in this?

Hi, I don't understand the reason why a testcase is failing. Whatever I do... The 3rd(hidden) testcase fails. I couldn't find any errors in this. Need some help with this. Thanks, Arnesh https://code.sololearn.com/cTkdO8kNog2a/?ref=app

7th Jul 2020, 11:44 AM
Arnesh
Arnesh - avatar
3 ответов
+ 3
I'm not sure if this is the problem but, although the task says the input format is MM/DD/YYYY, the sample input shows an input with only a single digit for the month. I don't think your code accounts for a single digit input for day or month.
7th Jul 2020, 11:58 AM
Russ
Russ - avatar
+ 3
👍
7th Jul 2020, 6:34 PM
Russ
Russ - avatar
+ 1
Russ Thanks a lot, solved the challenge. :)
7th Jul 2020, 5:13 PM
Arnesh
Arnesh - avatar