Ad
  • Custom User Avatar

    Here are some suggestions:

    1. For the tests where you get the wrong answer, copy the input (print(input) in the beginning of your code) and the expected output value.

    2. On your computer, add debug code to find errors, step by step, sometimes line by line.

    3. Once done, get back to the tests, the number of passed tests should increase.

    4. With the remaining errors or the new ones, go to step 1.

    This is how I passed all the tests. Good luck!