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.
python new test frameworks
I did the same thing. However I am not sure if its faster than the hardcoded solution
Thanks, I didn't know.
Hi, you need to use the spoiler flag when discussing code / methods / solutions. I have added the tag.
very clever!
Is that solution same as if function that select in each operator or it will process all the operator function?
Every thing that is hard coded or using simple functions should be faster
No, it's not. In fact, over a high number of invocations of the function, it probably actually be slower (allocation + hashing + lookup vs string comparison) The point of this isn't performance, it's convenience.
This looks very nice. But could anyone tell if this is really faster than the mundane if else control flow method?
Thanks.
Smart!
Dammit I keep overcomplicating these tasks by needlessly employing loops and control flow XD
This is so smart
No it must follow the format given in the description
Only worry about the following format: (123) 456-7890 (don't forget the space after the close parentheses)
very interesting!
I did not say that the add function thows a ZeroDivisionError. :-)
Please evaluate the arithmetic function and call it with arithmetic(1, 0, "add"). You will get a ZeroDivisionError.
Loading more items...