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.
That's what "clever" means when you're coding in Python
exactly
Isn't this running all operations rather unnecessary?
perfect
its a great technique man thanks.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
fine
Cool solution!
So minimalistic. Cool!
thanks, new to codewars
This is not tested (if it were, we would need specific instructions in the description).
what about division by zero condition
The get() method is for dictionaries. In this case, o is the key. When get(o) is called, it will return the value that corresponds with the key, which is then returned by the basic_op() function.
ermm can anyone explain the .get() in this case?
Loading more items...