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.
woohoo
Double is used for slicing not indexing
wow!
This comment is hidden because it contains spoiler information about the solution
he just slicing the crap out that string hahaha
My testing does not support this assertation.
It is usually a little faster, but sometimes slower.
(I did not find a case where it was more than a few % faster.)
This is the same cheese I did.
I did not vote it as clever because an fstring could be considered a fundamental python feature.
IMO clever code should be the use of obscure stuff so for Python 3 this should be best practice.
short and clever code!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yeah but then it wouldn't be a 1 line solution. 👀 Can't be having a best practice solution on Codewars that's more than 1 line long!
why?
real cool
Such a wow moment when you see a simple elegant solution and you're like dammn why did I overcomplicate the hell out of it :D
damn
Loading more items...