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:)
This comment is hidden because it contains spoiler information about the solution
Not this kata issue, it seems CW is stalling to assign the honor points. Try solving another kata later, eventually they'll be assigned.
i havent got any honor for solving this kata!
so where should i make changes in my code?
just add try except ?
or any hints??
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? ;-)This comment is hidden because it contains spoiler information about the solution
im sorry i needed a quick reply
i use python
how do i implement in my code to accept 1000000000??
please help me out
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 ;-)
how to input 10^10 into code??
my code is not accepting such huge numbers,
thanks!
Please, read what this topic should be about:
If you want to discuss some kata in particular, there is a Discourse section for each one.
I trying the duplicate_encode kata for Python.
Despite all test are ok, when trying the final attemp it gives me an error in the last test, it returns:
My code is:
I do not have feedback of the input that gives error. Can someone help me please?
Thanks.
Loading more items...