> 1:
return False
for i in range(2, num):
if num % i == 0 and not num == i:
return False
return True
is_prime(9)
thanks. thats it
Great, but i won't equal num anyway
Обсуждают сегодня