+ 6

[solved]Code coach problem military time.Why my two cases getting fail?

My code is running perfectly without any error and also giving right output but my 2 cases is getting wrong in code coach problem in military time problem.i don't why please find the bug in my code if present thanks in advance. This is my code. https://code.sololearn.com/ccBbJOYOiIGc/?ref=app

1st Jan 2020, 11:37 AM
Maninder $ingh
Maninder $ingh - avatar
4 Answers
+ 3
Maninder $ingh , I think the problem is that the question wants you to display time in XX:XX format that is for time like 2:30 AM the expected output should be 02:30 not 2:30
1st Jan 2020, 11:43 AM
Arsenic
Arsenic - avatar
+ 6
Arsenic you are right.
1st Jan 2020, 11:45 AM
Maninder $ingh
Maninder $ingh - avatar
0
bahasa indonesia donk
1st Jan 2020, 3:04 PM
Antyo Hari
Antyo Hari - avatar
- 1
No the expected output will be wrong then
5th Dec 2020, 9:41 AM
vineet singh class 10 icse
vineet singh class 10 icse - avatar