Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def isPrime(x):
- p = 2
- while p * p < x and x % p != 0:
- p += 1
- return x > 1 and p * p > x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement