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 wish I could produce clean code like this. sigh, back to practicing...
This comment is hidden because it contains spoiler information about the solution
My solution is nearly identical to this one. But string concetenation costs too much. Using str.join() is better practice as far as I know.
In Python the boolean values can be turned into 1 and 0, and viceversa. 1 is True and 0 is False. The code does indeed only return 1 and 0 but when you compare them while testing it throws no expections because they are compatible.
This comment is hidden because it contains spoiler information about the solution