Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Your code is much more efiicient
I literally had the same piece of code but the fcking when I tried it, it would always timeout on me. Idk how it worked for you.
Make it 100 before saying that a standard Python interpreter which you can download from the official website is broken. There're 1652 Python completions, and if something is not working, you're either messing up the tests or your solution is plain wrong.
This comment is hidden because it contains spoiler information about the solution
The interpreter for this kata is very buggy (I'm talking about Python). The same sample test when tested first passes and when tested last fails.
I don't know what's going on but I'm 99.999% sure that my code is not wrong it's the interpreter that's wrong. Please fix this bug asap. It is very frustrating not getting the results after you've worked so hard