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.
Nr. 3 is my favotite ;)
You have mistakes in the description:
This comment is hidden because it contains spoiler information about the solution
Hey so maybe this a bit of a dumb question but shouldn't you be adding to the index value instead of subtracting? Wouldn't this go around in the opposite direction that you want it to?
There is an error in your code. Your code returns a list of bools instead of a list of ints. Your code passes test because in Python expression 1 == True returns True and 0 == False returns True. That's why, for example, [1, 0] is equal to [True, False].