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.
oh, thanks for the tip 😁
Hi, Nice solution!
btw, you can change it to if(b) insted of if(b===true)
:)
Thank you for the comments. I got it done with a different approach.
Yep, pardon: it is checking if the square root is single digit, but still not related with the actual scope of the kata.
Your code is doing something just slightly different than checking if the number is single digit.
It's checking if the square root of the number is single digit. When numbers get bigger your code fails.
Thanks for taking a look at my code.
But if that would be the case then my code shouldn't work with the very first test that contains double digit numbers? right?
I can't see how your code is testing correctly for the required condition (you are just testing that each number is single digit...), but, anyway, remember to format the code with the git flavored mark-down, for better readability :)
This comment is hidden because it contains spoiler information about the solution
Which language?
Hey
My answer show the correct result but still the first test won't recognize them as valid.
Could you PLEASE TAKE LOOK.
This comment is hidden because it contains spoiler information about the solution