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.
ooo is good code cafoooo
My friend, we write solutions not tests. The TESTS round answers, not solutions. What are you talking about?
Thank you for this! This is what I wanted to do but didn't know how to do, so had to longhand it. This is very neat, thanks for teaching me
damn, did the same thing but replaced -1 with len(arr) -1, yours is much simpler lol
Wow.. I made mine way more complicated
This is an excelent use of String Slicing in Python
please do not post solutions in the discourse, otherwise anyone can see it without the spoiler flag. I have added the flag to your comment.
This comment is hidden because it contains spoiler information about the solution
Very good job, we learn a lot in this solutions sections.
@fran496: no, but they're iterable objects that support indices, just like lists - except every element in a string is a single character. This means most of the syntax elements that can be used on lists can be used on strings as well.
except for mutating elements, you can do that with lists but not with strings
the kata specifies you don't have to deal with those
nice solution
can you explain your solution?ty
This is good job!
Efficiently done!
Loading more items...