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.
Now you've been 3 years with Python and 2 Kyu. Not bad.
Damn this is what i spent like an hour trying to do, didn't know why arr[1:-1] was not being accepted. Now I see the [] for index had to be outside of the (). Cool.
This comment is hidden because it contains spoiler information about the solution
I see, thanks for the tip. I´ll have to learn to use elif more.
This comment is hidden because it contains spoiler information about the solution
I was going for this but couldn't figure out how to use the strip in the same line.
End up adding a second line with: return words.strip('')
:-(