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
Could use some comments explaining what each line is doing.
This comment is hidden because it contains spoiler information about the solution
I think it would require, at a minimum, a lot of familiarity with the built in functions and their useage. Like in this case enumerate() and .join(). Because I'm unfamiliar I went straight to using a for loop and f strings.
That's one of the reasons I do these challenges though, it introduces useful things like enumerate() and how they can be used, or reminds you if you'd forgotten.