Hi please find my code's problem.(code military time) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi please find my code's problem.(code military time)

https://code.sololearn.com/cVLquu2S7F86/?ref=app It doesnt work for some solo test.

11th Mar 2022, 3:43 PM
Mohammad Zanganeh
Mohammad Zanganeh - avatar
2 Answers
+ 5
You're missing to consider 0X: XX AM or PM format. For example, 01: 56 AM -> 001:56 01: 56 PM -> key error
11th Mar 2022, 4:18 PM
Simba
Simba - avatar
+ 3
This code coach, doesn't clearly say 0X:XX is one of input type. So i missed this type 🥲 Thanks 🌹
11th Mar 2022, 7:08 PM
Mohammad Zanganeh
Mohammad Zanganeh - avatar