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 try that, my code pass when i test it, but when i attempt my code it fails.
I try the same random number in test section it pass, but i don't know why when i attempt the code it fail
I provided the lowest possible test case for which your code fails so that it would be easiest for you to debug.
just for high numbers it failed, but when test the code is pass
Your code always passes for the value
6
. However, your code is not correct. Try debugging it by adding this to theSample_Tests
:C Translation
why when i test my code the results be passed, but when i attempt my code the result be failed, something for the same number in the test, like 6 when come at the attempt it's failed
Please don't post solutions in Discourse.
This comment is hidden because it contains spoiler information about the solution