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.
Beautiful :)
Silly kata!! Can't think where this would ever be useful!!!
nice, one way to avoid use an re library
Almost exactly how I did it
This comment is hidden because it contains spoiler information about the solution
nice
whats considered "best pratice?"
That's what I used!
This comment is hidden because it contains spoiler information about the solution
Do we really need to use memory space to hold the list created?
Use spoiler flag next time. Your post was plainly visible in the home page.
return "{}/{}".format(len([x for x in s if x > 'm']), len(s))
Some 1-liners are difficult to figure out what it's doing. This one is pretty easy to read.
what`s about uppercase?
Definitely looking into big refactoring and some more reading on the problem. Was improvising all along.. Very nice kata!