0

Failing 2 out of 3 hidden cases. Can anyone help?

https://code.sololearn.com/cD4u2ejKnHBh/?ref=app Any suggestion?

15th Apr 2020, 6:20 AM
Amir Galanty
Amir Galanty - avatar
2 ответов
+ 1
the hour number should have two digits, when it has one digit, add a 0 at the beginning: 01:20 05:15 14:34
15th Apr 2020, 6:36 AM
John Robotane
John Robotane - avatar
0
10x. Worked like a charm.
15th Apr 2020, 9:12 AM
Amir Galanty
Amir Galanty - avatar