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.
You're checking whether lives is 0, but what if it is -1, -2 or ...
fixed
I have so many trouble because of this new features of python, and I wanna evaluate how much I know about the last 2 versions too, because we gonna need to use anyway bolt. Great wise words man! Congrats, make me an ally!
Read Erynvorn's post below.
If bonus is False, its index value is 0
consider:
array = ['a', 'b']
bonus = True
array[bonus] == array[1] == 'b'
bonus = False
array[bonus] == array[0] == 'a'
done (but well, the function is already provided so...)
see my comment
Item order doesn't affect equality and there's no result order requirement here.