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.
1492952653 is not prime:
1492952653 = 31 × 48159763
. The problem is with your code.This Kata doesn't work for Python. In the random tests it returns that the number 1492952653 isn't prime. Is it a fail in the Kata or in my Code?
This comment is hidden because it contains spoiler information about the solution
Very good job, we learn a lot in this solutions sections.
Thank you! I didn´t know about this, and I didn´t know how to look for it.
Given that definition, no, it's not.
This comment is hidden because it contains spoiler information about the solution
This question is a bit confusing in its instructions. But, once you find out that it is a triangle inequality test it becomes very simple, i think it had to be stated in the instructions. Anyway, it's a good Kata for beginners like me, though.