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.
I totally agree. There is also another kata which suffers from this: Matrix Determinant (4 kyu).
Can't agree more
Learn how to read code before doing this kind of statement just after doing that one on another solution: you're basically saying that the SAME approach is bad and then good... (btw: using the dedicated module but not to use it in the simplest way... how could it be better???) Choose your side. Do it wisely. Or don't comment.
By the way, the present solution is absolutely awful and not at all pythonic. The other one, is...
This comment is hidden because it contains spoiler information about the solution