how do i modify line 4 of this function in order to get exactly 245 iterations
def is_prime(num):
if num < 2:
return False
the_end=num
for i in range(2, the_end):
if num % i == 0:
return False
return True

print ("The 25 prime numbers between 1 and 100:")
count=0
for num in range(1, 101):
if is_prime(num):
count=count+1
print(count, num)

Respuesta :