def is_prime(random_number):
number = 0
for i in range(2, random_number // 2 + 1):
if random_number % i == 0:
number = 1
if number <= 0:
return True
else:
return False
for i in range(2, random_number // 2):
?