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
What you are doing with
l
has no effect on thefor
loop, in case you are relying on that somehow. You might as well writefor o in range(0, len(word)):...
Also,
m
just keeps accumulating letters without discrimination. In the end it will simply be a concatenation of the input sequence.Please use the
spoiler
tag if you are going to post solution code (even non-working) in the discourse.Also, if you decide to post code, use markdown formatting:
```
your code
```
Otherwise, we can't make heads or tails from what you wrote (indentation matters in python).