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'm still learning the basics of python (and programming in general). After comparing the solutions I have for various katas to the "best" and "clever" solutions others have devised, I have no doubt that most of the code I've written is subpar. If you don't mind me asking, what would be a more performant way of approaching this problem?
I loved this kata. It's a really clever way of making sure you understand the fundamentals. I first figured out the logic needed to get the results using print on an IDE and then realized I needed actually return an output since this was a function. Luckily strings are easy to manipulate with a simple += so I didn't have to change the structure of the code.