0

What's wrong with this edge case code?

Hi, I am having issues with an exercise- i don't think I'm catching edge cases but in codecoach the other tests are hidden so can't tell what's wrong at the moment. As always thanks for your input fellow learners https://www.sololearn.com/coach/70?ref=app https://code.sololearn.com/ckAqbJ97dDk3/?ref=app

16th Mar 2020, 1:43 PM
ren[paused]
ren[paused] - avatar
3 Answers
+ 2
Ok noted! So it was edge cases then. Thanks for the insights
16th Mar 2020, 1:53 PM
ren[paused]
ren[paused] - avatar
+ 1
first observation : 12:00 AM is supposed to be 00:00 not 12:00.
16th Mar 2020, 1:51 PM
Bahha┣
Bahha┣ - avatar
+ 1
Updated code to reflect edge cases. An error still occurs on case 3
17th Mar 2020, 1:07 AM
ren[paused]
ren[paused] - avatar