Ad
  • Custom User Avatar

    Issues and question are not mutually exclusive.

    I have apparently incorrectly assumed that the tests were the same because of the name and I admit it did not even occur to me to print the input. I also did not know I could see the tests after solving it. Thanks for the response.

  • Custom User Avatar

    The tests are fine, your code is not. Check how you validate the input values.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • 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.

  • Custom User Avatar

    You're not validating the input right.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution