# Thanks to https://www.codegrepper.com/profile/farid
# Just tune his answer into easy to use function
def prime_numbers(start_num, end_num):
for number in range(start_num , end_num + 1):
is_prime = True
for counter in range(2,number):
value = number % counter
if value == 0:
is_prime = False
break
if is_prime == True:
print(number)