looks like u solved it some time ago~~
All the tests are correct. Otherwise, if you can't pass the tests in time, your solution is not efficient enough.
I prefer to check every number from -n^3 up to n^3 in steps of 0.05 just to be sure I didn't miss anything O:)
Not this kata issue, it seems CW is stalling to assign the honor points. Try solving another kata later, eventually they'll be assigned.
You didn't not handle exceptions that happens when you try to parse a string that is not a float. ;-)
Do you need to try all the numbers up to n to see if n is a prime? ;-)
n
Do you know what ^ means in JS/Python?
^
This is not an issue at all, and not a question about the kata, it's a question about the basic language features of the language you use ;-)
Loading collection data...
looks like u solved it some time ago~~
All the tests are correct. Otherwise, if you can't pass the tests in time, your solution is not efficient enough.
I prefer to check every number from -n^3 up to n^3 in steps of 0.05 just to be sure I didn't miss anything O:)
Not this kata issue, it seems CW is stalling to assign the honor points. Try solving another kata later, eventually they'll be assigned.
You didn't not handle exceptions that happens when you try to parse a string that is not a float. ;-)
Do you need to try all the numbers up to
n
to see ifn
is a prime? ;-)Do you know what
^
means in JS/Python?This is not an issue at all, and not a question about the kata, it's a question about the basic language features of the language you use ;-)