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.
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 ;-)