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.
It's because anonymous functions like that are very much inspired by the lambda calculus where you'd write λx. f x for python's lambda x: f(x) and it's just a "pythonization" of that syntax.
This was too hard for an 8 KYU, I would prefer it to be 7. Also it seemed like there was a few errors in the spelling and grammer of the discription.
Thank you bro this helped a lot.
I am curious, what is the meaning of lambda?
The description does not specify that nums will always have one or more numbers.
And it's usually a good practice to check that a value is not zero before dividing something by it.
I know, but it's one of the most efficient methods
What is the purpose of the last part? There isn't a case where nums doesn't exist.
😂 I feel the urge to put an api request to get the most accurate calculator to carry out this mathematical operations
Nice it is much longer now.
Thank you, this makes it much better and harder to tell what is happening.
Thanks for the feedback. I am going to unpublish this.
Also, you don't have to create and publish the kata to ask if it's a good idea.
Ask on Discord#kata-ideas first.
sort()
,sorted()
or any other built-in mean of sorting the lists;No. This has been done.
ETA: if you have to restrict native functionality, don't make it into a kata. It almost never ends well.
I created this kata, let me know if you think it would be a good kata.
Loading more items...