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.
Python: no random tests.
This comment is hidden because it contains spoiler information about the solution
I understand the logic, but why is the sorting behavior different between the two approaches (this code and mine)?
This comment is hidden because it contains spoiler information about the solution
Nice one. Thanks for you reply. Clever solution
This comment is hidden because it contains spoiler information about the solution
Random tests are useless.
Seeing this after I solved mine in a single line via lambda made me cry haha
On the validation thing, remember that you should duck-typing in Python ;-)
Right suggestion, taking
[]
is allowed now.Other rules still apply.
You return more than
False
Hidden validation requirements!
Also I don't know why this kata has got so many freaking validations to do. The code for doing the validation is at least twice the size of the actual task.
Don't make people juggle 10 things at once.
It made me happy seeing all those 72 so far Python solutions and all the typing that everyone did...!!?!?!!!
This comment is hidden because it contains spoiler information about the solution
What happened? Your solution is in the tests cases
Loading more items...