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 are probably making an array upto n.
The tests on submit are usually bigger than the example tests.
Try to think of a better way to check if the number is prime.
When I run my code I get the following error message even tho my code passes?
Test Passed
Traceback:
in
in Is_Prime
MemoryError
1 Passed
0 Failed
0 Errors
Process took 15ms to complete