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.
The answer to this question lies in the answers the robot gives. ;-)
cleaned up
You got me, I was kinda lazy and found 2 repeats sufficient to solve the kata.
For longer array, keep creating new string is definitely a terrible idea.
Because your code should return a string instead of an int?
What do you mean by "weird" in this context?
What's to fix? It works fine for me, and please mention you talk about Python tests, this kata has many languages available.
2604 is correct
Not a kata issue.