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.
Dude! It's the first time I've seen using lambda inside a class instead of a function!
You managed to create the smallest and, somehow, easiest answer to analyse of us all!!!
Sir, you got yourself a huge fan in me!
Best practice and Clever! You got it!
This comment is hidden because it contains spoiler information about the solution
I gotta say... not satisfied with this test.
I managed to get it done, but after many hours.
When I ran several of valid answers, which ran on a very good time on my pc, I got the error 'no data was written to STDOUT or STDERR'.
Also, several answers of mine were rejected because the end result was float.
However, when I checked some of the valid answers, I very saw similar answers to mine, and answers whose end result was float.
My python version, on my Jupyter Notebook:
3.7.1 (default, Dec 10 2018, 22:54:23) [MSC v.1915 64 bit (AMD64)]