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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow! Brilliant. Had to laugh when I saw the one-line solution appear on my screen.
Recognized the asterisk syntax from unpacking tuples and multiple function
arguments (but I repeat myself!)... it just never occurred to me it could be used
with other iterables as well. How silly of me!
To those who think this should be voted as Clever rather than Best Practices, isn't
this elementary Python syntax? We should all be familiar with it. Look how much
screen space it just saved.