No, it means take the square root.
Chrono, question: whenever it says, "take THIS", does that mean just keep that value and don't square it? (learning disability, sorry!)
I think the split and map methods are being upvoted because this is an arrays kata.
No, read it again:
If the number has an integer square root, take this, otherwise square the number.
Which language are you referring to? If it is javascript, the tests are fine:
JavaScript Completions 7264
The instructions are unclear. It says that if it doesn't match the prior condition, to square it. The tests expect you to square ROOT it though. Squaring it is the inverse operation.
Loading collection data...
No, it means take the square root.
Chrono, question: whenever it says, "take THIS", does that mean just keep that value and don't square it? (learning disability, sorry!)
I think the split and map methods are being upvoted because this is an arrays kata.
No, read it again:
Which language are you referring to? If it is javascript, the tests are fine:
The instructions are unclear. It says that if it doesn't match the prior condition, to square it. The tests expect you to square ROOT it though. Squaring it is the inverse operation.