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.
ah yes, thank you a lot!
I didn't get to finding the exact cause of your problems, but I noticed that your solution seems to work when called once, but fails when called twice. Notice how following test cases:
pass when run separately, but the second one fails when both tests are run in one go. I am too noobish with Pytohn to pinpoint the issue, but I know that default parameters in Python can cause some surprises sometimes because they retain values between tests.
Hope this helps. I am going to mark the issue as resolved, since I believe kata is OK, and problems are caused by some bug in your solution. If you can confirm that the kata is bugged, feel free to re-raise it giving some details.
This comment is hidden because it contains spoiler information about the solution
Intentation is not a mess if you post your code properly.
This comment is hidden because it contains spoiler information about the solution