+ 1
Code Coach Military Time
I have written a code for Code Coach Military Time and I don't know why Testcase 3 & 5 is not passing. Where am I wrong? Here's my code https://code.sololearn.com/c8caxL78osUf/?ref=app
3 Antworten
+ 4
Chaniza Van Sinda, the problem still exist. You have only resolved for 12:00 AM but for time like 1:30 AM your code is still displaying 1:30 instead of 01:30
Here is a simple fix 👇
https://code.sololearn.com/ctyf7MjK51R8/?ref=app
+ 3
Chaniza Van Sinda 12:00 AM should be converted into 00:00 but your code is converting it to 0:00.
question states that that output should be in the format XX:XX
+ 1
Thank you Arsenic. I changed the code a bit and the testcases are still not passing