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.
wow!! that's nice
Not a kata issue. You should convert the string to number, not an array of numbers. Also you do not need the
main
function except if you're using to test in your local machineThis comment is hidden because it contains spoiler information about the solution
Lua:
Random tests always (as in 99% of the time) return non-square numbers
Approved
God i love haskell
para este taka no veo necesario importar la libreria, solo tienes que multiplicar numero x numero, mira mi solucion, espero te ayude
This comment is hidden because it contains spoiler information about the solution
How is this a 7kyu?
I copied a list in the beginning of the function but it still says I mutated the initial list
No I tested different numbers, because I haven't noticed test numbers... I tested 5, 27, 9, 25, 81, and few similar examples and they all worked correct and now actually tried with -1 and there is a bug, thanks.
At the end I can say that there was only one exception for -1 and the rest works correct... Thanks for your answer, I finally solved!
But what numbers do you test in your local Python interpreter? Do you test the same numbers as Codewars does? Did you test
is_square(-1)
(which you can see in the error message)?Sorry about that issue mark, I'm first time here.
As I understood problem is that here interpreter shows kind of mistake which never happens at least with my local Python interpreter.
Anyway, it is a question, not an issue (yet).
Loading more items...