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.
This comment is hidden because it contains spoiler information about the solution
As if using a lambda was the biggest "problem" with this code 😂
It's obviously hammered to a one-liner, so readability was not the primary concern of Murf.
why though?
whats wrong with using lambda, even for simple questions?
Please don't use lambda for a super simple question like this
See the node version required: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flat
Why array.flat() is not a function in js ?
JS has this method and it work in any EDI and DevTools.
Now it's the default version
Thanks!
Switch to py version 3.8
Whenever i run my code it passes the Test, but on the Attempt it throws:
Note: i added to the testcases
But it didnt work
Description of the kata did not state that a tuple can be passed as an argument however in the random test, a tuple was passed instead of a list.
Vector([a,b,c]) # creates a new Vector from the supplied 3D array. Vector(a,b,c) # same as above
ye i didnt know that,first time lol.
thank u
@Murf nxt time when you want to request for some changes, u can just comment it out instead of forking it ~~
thanks :)
Loading more items...