Create a Python program that finds the prime factors of a given number.
def prime_factors(n):
    factors = []
    divisor = 2 
    while n > 1:
        if n % divisor == 0:
            factors.append(divisor)
            n = n/divisor
        else:
            divisor += 1
    return factors