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.
added to Python
it's not tested anyway... And the description isn't even clear about what to do in that case (this is very python specific. It's not true in some other languages, so without a clear spec, anything is acceptable)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That fits the 7 kyu of the kata.
If it were having more elaborate tests, this solution would timeout and the kata rank must then be 5 kyu or so.
It's up to the author to make sure users do what they are supposed to do. If it's possible to bypass the requirements, it's the author's responsability.
If the solution it's here means it passes the tests so either you or the kata are wrong, not the algorithm.
This comment is hidden because it contains spoiler information about the solution
It works.
Good observation. There aren't enough tests for the Py3 version of this puzzle, and the problem description lacks detail.
This comment is hidden because it contains spoiler information about the solution