Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • I had the same issue. For me it was the test when you input 0.

  • Not an issue. If Attempt button is not visible, try zooming out the tab or press Ctrl+S. Otherwise, explain yourself properly.

  • Not an issue. Your code is wrong.

  • It worked on PyCharm, but here it doesn't. It works with "if" but if I try to use "while" => "Execution Timed Out".

  • Why there is no option to run for this question .. for many question it have unlock solution button why

  • 3 strings of code and:
    "STDERR
    Execution Timed Out (16000 ms)" ... Sad

  • Very TASTY kata! Thank you. )))

  • / is not the same in Python 2 and Python 3 ;-)

    • not an issue of the kata, an issue of your code => closing
    • recursion is beautiful, but not always the good way
    • if you believe there is an issue, you have to document it. The very least here would have been to give the error that is raised. I'd either bet on a time out or a stack overflow. In both cases, with almost 4000 people having already solved the kata, you'd bet that the problem is rather on your side... ;)

    Seek for another way, then. :)

    • not an issue of the kata, an issue of your code => closing
    • recursion is beautiful, but not always the good way
    • if you believe there is an issue, you have to document it. The very least here would have been to give the error that is raised. I'd either bet on a time out or a stack overflow. In both cases, with almost 4000 people having already solved the kata, you'd bet that the problem is rather on your side... ;)

    Seek for another way, then. :)

  • tried to solve this using simple recursion.
    it won't work even though it does in my computer.

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

  • I'm doing it in Java. I did more research, rewrote my answer, now it works fine. Thank you both for your tolerance of my noobness.

  • Will also help to know in which language you are attempting to give some hint

  • Yeah, it's a trap. Your advice was very useful.

  • Loading more items...