Ad
  • Default User Avatar

    Very strange. Can you insert print statements inside the code when you run it on codewars? The output will appear when you run the tests. That might provide information.

  • Custom User Avatar

    hi brodiemark, on codewars, my code passed 2 out of 4 test cases.
    This is an example of the failed case:

    AroundTheClockTests
    Test Failed
      String lengths are both 5. Strings differ at index 1.
      Expected: "08:00"
      But was:  "09:00"
      ------------^
    

    So the correct answer is 08:00, and I got that in my local IDE. I'm not sure how did I get 09:00 in codewars

  • Default User Avatar

    Can you give an example?

  • Custom User Avatar

    I got different results in my local IDE and on Codewars using the same inputs and code. Did I overlook something here?