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.
there are many ways to slove this without regex
regex wizzards in the house
wow
Recursion is more resource-comsuming, than simple cycle, recursion is to make code look clearer, never faster.
this is math!
i wrote a 7 lines solution, just to find this answer afterwards. Very smart approach to be honest!
yeah
python new test framework is required. updated in this fork
@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
Finally got a top answer ass well :)
So simple, I managed to figure out that a regex would work but the experience really plays a role here, great job. Teahcing us all a lot.
I'm confused as to why it knows c represents characters in the strings
I had no idead at all how to solve it, lol
me too... good :D
Loading more items...