+ 1
Military time Code coach
Could anyone tell me what is the wrong with my code of (Military time code coach) it matches 3 test cases out of five. I have tested it on other interpreter for different inputs , and it gives the desired outputs. This is my code: https://code.sololearn.com/col5zfFSsN8Q/?ref=app Thanks in advance.
2 Antworten
+ 3
I believe the issue is that proper military time format has a 0 in front for the time from 12 AM to 9 AM
ex: 3:00 AM -> 03:00
+ 2
Thanks, it works now