What's wrong with my solution? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's wrong with my solution?

It passes 2 cases. https://code.sololearn.com/cd37WxvZKP3a/?ref=app

30th Apr 2020, 7:01 AM
🔱MRT🔱
🔱MRT🔱 - avatar
3 Answers
+ 1
ChaoticDawg thank you🙏
1st May 2020, 6:53 AM
🔱MRT🔱
🔱MRT🔱 - avatar
0
Input "1:30 AM" and see if you can recognize the issue when compared to the expected output format of XX:XX The issue is present from 1:00 AM - 9:59 AM
30th Apr 2020, 7:20 AM
ChaoticDawg
ChaoticDawg - avatar
0
You also have an issue with 1:00-9:59 PM in which the hour is including the colon making it crash.
30th Apr 2020, 7:27 AM
ChaoticDawg
ChaoticDawg - avatar