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.
I solved problem.Thank's!
@Midkniteskyz your code should return a single string, check the sample tests, you're printing several strings instead.
@InOutCodeItAbout: Please, don't post your javascript code under a Shell issue, they're not related. Already answered your question in your own post.
This comment is hidden because it contains spoiler information about the solution
Read the Note at the end of the kata description.
I think it is the checker, I think they have only written their test in one way and didn't account different ways to doing it, I am new to JS and learning and I done it and it work in my console.
This comment is hidden because it contains spoiler information about the solution
Approved
oh ok thanks
You are supposed to return not print(). Note that you can only return once, so...
when I run it the result is 'None'
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Format your code with this link so it is much more readable. In regards to your code, it is fast enough - I'll follow up after I properly debug it.
This comment is hidden because it contains spoiler information about the solution