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.
me when im pulsing with nuradrenalin
It is so hard bro>
coming from SoloLearn Python beginner: I just got through quiz 3 and so far Funtion and Return haven't been covered at all.
nice i mean thats super noobiesh :)
Very nice)
i received more insight because of this answer.
Spoiler flag.
This comment is hidden because it contains spoiler information about the solution
too difficult, created a nested list
Just click attempt because there are no sample tests.
as per my understanding there wasn't any return statement or any work was defined inside the function so overall the function was undefined.
there is no sample test for this kata. You'd have to write a test for yourself
???why I failed to run sample test, but attempt can be passed?
How would one begin doing this without using recursion?
I have tested my code on jsfiddle against the three given tests as well as my own, and they all passed. However, when I test here, I get:
Test didn't pass: Unknown error
Any ideas what's going on?
Edit: for some reason, I had to add one of my own tests here on codewars, then it ran the others? I didn't know we were required to write any of our own tests?
Edit: ohh, run tests is only for personal tests, got it.