Need help with a code coach problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need help with a code coach problem

I’m trying to do the Military time coach problem. I pass all tests except #4 (hidden output). Read the task and tested the code a couple times... can’t figure out whats wrong with it. Please help? :( https://codeshare.io/5ZVRpX

9th May 2020, 7:06 AM
Ibrahim Maaniu
Ibrahim Maaniu - avatar
4 Answers
+ 1
It's hard to tell just by looking code.. It's better to save code and share link here.. Then one can debug and may find errors...
9th May 2020, 7:59 AM
Jayakrishna 🇮🇳
0
sorry, i thought code playground codes were only public. https://code.sololearn.com/cQyGrW3UMXGE/?ref=app
9th May 2020, 3:38 PM
Ibrahim Maaniu
Ibrahim Maaniu - avatar
0
For input single digit hour 1 to 9 PM, IT giving error.. Ex: 1:00 PM In list hours 12, instead of 01, put 1 only, same for Remaing also..
9th May 2020, 3:46 PM
Jayakrishna 🇮🇳
0
ooo thanks.
9th May 2020, 5:29 PM
Ibrahim Maaniu
Ibrahim Maaniu - avatar