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.
dunno about wording here, but i agree in principle. Instructions made me edit. Thanks for leaving the comment tho!
cmp
is not necessary to solve this at all. New hint: list index values.Solved in seconds due to obvious, syntactic reasons, no thanks to the rather lacking description, mind you. Why try for "amend" when the simple "mend" would amply suffice? Do you think you're Oxford's Digest or something?
Python 2 has died, and the cmp command has been been deprecated for quite a while, yet here we are. Well done on the attention to upkeep! slow clap
Go away! No one should be even thinking of writing a class for this; it is considered bad practice in Python.