number = 2
def is_prime(x):
global number
while number < (abs(x) - 1):
if (x % number) == 0:
return False
number += 1
else:
return True
print is_prime(567)
print number
English
-
-
Magic