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.
The javascript version appears to be calling the function twice, which leads to incorrect numbers regardless. Please fix this!
Please include some test cases that inform us what might be going wrong in our code!
I agree with this. My code works fine until the last random number where it takes too long to run. As a beginner, I have no idea how to fix this so I think it is more appropriate as a lower kyu level if that last part is to be left in.
even if the solution is correct, the code will not pass when tested. The only way I figured this out was by submitting the final code and having it past then. I guess there are no test cases, then?
The test cases do not exist and therefore do not pass but the final submission does.