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.
Nice solution! Could just be my current comfort with the language, but I don't find this as easy to read and understand as some other solutions with similar time complexities though.
This comment is hidden because it contains spoiler information about the solution
Genial
but is fast lol
if both key and anwser is "", what's the expect? 4 or 0 ?
self.x returns the same thing as self.__dict__['x']
__dict__ is the internal dict of the class.
How does it work? Can someone explain?
This is what I wanted to do, but eventually gave up... Great to see!
another one who wanna show off their skills (not ot mention I'M FUcING 8KYUUUUU)
hahaha you are right but this is what codewars is about to use your brain and give your best
You know one is free to do whatever he fancies?
We don't do that here, screen space is expensive (that was sarcasm, of course).
You know you don't always have to write a one liner.
You can write the same code spaced out into 3 or 4 lines.
Doesn't hurt anyone, rather reduces confusion.
I agree, but I also believe that a solution should only be optimised if it times out.
great
Loading more items...