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 only fails the final fixed test. Print out the input and consider this particularity of this case to figure out how to fix your code.
Please note that Python has over 42K solves. If you don't know what's wrong, post as a
question
. Only post as anissue
if you can explain a problem with the kata code and give examples.