Print primes in range

def prime(num):
    for x in range(2, num, 2): 
        if num%x == 0:
            return False
            break
    return True
                
def return_all_primes_in_range(nMix, nMax):
for number in range(nMix, nMax):
    is_prime = prime(number)
    if is_prime == True:  
        print number, " is prime.\n"

return_all_primes_in_range(120000,1000000)