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.
you should use always the spoiler flag when discussing code (i added the flag to your comment)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
same as mine ( :
Yeah, same.
Thanks for your response, there was an edge case where i wasn't evaluating composite number. My apologies for confusion.All good with Kata.
The tests cases in Python are fine:
Please read this: https://docs.codewars.com/training/troubleshooting/
Not a kata issue.
Below is the output from one of the test case , which is broken for python.
[1, 4, 9, 2, 25, 2] should equal [1, 4, 9, 2, 25, 36]
Please correct this.
Thanks akar-0 :)
Tests are ok. And if they were not ok, you don't give the input so nobody could know.
Are tests ok?
expected [ 2, 9, 3, 49, 4, 1, 10, 10201, 25, 25, 1, 1 ] to deeply equal [ 10, 10201, 25, 25, 1, 1 ]
It is working when I test it manually in RunJS i.e.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution