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.
Hi
Why is it suited for python 3.10 ? what's the feature of it involved in the refinement of the code ?
Thanks
Thanks man, glad you found my explanations useful!
I like the use of numpy in your solution btw.
Thanks a lot man ! I noticed there was something modulo 4, so I added a special line in my code and all worked fine but I could not figure it out why, so thanks a lot for the explanations ! ;)
This comment is hidden because it contains spoiler information about the solution
if not enough, search about tuples/list comparisons
I need only one clarification that how is tuple values which is (0 or 1, n or -n) helps in sorting ascending and descending as if n is even or odd.
This comment is hidden because it contains spoiler information about the solution
Those argument which are provided in the lambda function?
Can a lambda fuction take two arguments?
Here, is lambda returning a list or tuple?
How is tow different process happening? one is ascending and another is descending.
working of second agrument in the lambda function?
Really nice one line solution. Smart
I corrected it and all tests work. Sorry ^^ and thanks again !
Oh sorry after verification I see that the pb comes from the zeros
This comment is hidden because it contains spoiler information about the solution
What was the input value there? The error message shows the value your function returns and the expected value.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...