Ad
  • Default User Avatar

    скорее всего нужно использовать return потому что ты должен возращать ответ

  • Custom User Avatar

    Because there are still some cases you might haven't thought of when you're testing your code on your own environment with your cases, but in codewars those edge cases you missed are tested. That's why your solution can pass your test in vs code, but not on codewars.