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
3 Answers
+ 2
Ok noted! So it was edge cases then. Thanks for the insights
+ 1
first observation :
12:00 AM is supposed to be 00:00 not 12:00.
+ 1
Updated code to reflect edge cases. An error still occurs on case 3