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.
Tbh I read comments but still don't get it. Can someone explain to me how this works in this case?
I sometimes think I found the best solution, then I see someone posting a more clever code.
Can you please give an example of a payload that could be used in this case?
result[:-1] means start from the end of the string and go one step backward