Ad
  • Custom User Avatar

    There's no way to look at the tests when you hit attempt, unless you solve it :D (then you can see by clicking 'Show Kata Test Cases' below satisfaction rating)

    With other languages like JS, it will display your logs regardless if your code times out or not, but not with python runner :/

    But to be clear, you shouldn't need to use any external stuff. All you need is to scroll through the logs that codewars runner displays, and find what you need. ( ideally :P ) Best of luck, and if it doesn't work, let us know, we'll find a way to help.

  • Custom User Avatar

    Hmm... with python that can be tricky. The goal is to print just enough stuff to fill the buffer in 12s (easy if there's infinite loop), otherwise it will only display timeout message. You could print some distinct message and then print the input, so then you could use ctrl+F to find it on the left side, which shows console output. (the last one would be the failing test) Alternatively you could just print a lot of stuff in your loop and trying to debug it to see where it gets stuck.

  • Custom User Avatar

    It means you're printing too much stuff into console.