+ 1

Can you help me to solve Military time task?

Test 3 and 5 are wrong https://code.sololearn.com/cqRRGIr7gg1I/?ref=app

23rd Feb 2021, 2:20 PM
Ситникова Варвара
Ситникова Варвара - avatar
2 Respuestas
+ 3
For input 12:00 AM, output sholud be 00:00 For input 2:00 AM, output should be 02:00 (double digits) For input 12:00 PM, output should be 12:00 only... Check out theses cases.. Hope it helps. .
23rd Feb 2021, 6:48 PM
Jayakrishna 🇮🇳
+ 1
Thank you!
24th Feb 2021, 5:46 AM
Ситникова Варвара
Ситникова Варвара - avatar