Ad
  • Custom User Avatar

    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.

  • Default User Avatar

    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