Ad
  • Default User Avatar

    Does anyone know why this happens?

    It's a question, not an issue. Issues are for problems in the kata, not in your code.

    but the Test1 fails (which is the test that passed previously)

    In "Sample tests" and "Attempt" the 1st test is not necessarily the same (print the input). Since you have assed the kata look at the tests.