Need help with a code coach problem | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
+ 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