I will show you my code then I\'ll explain what I\'m trying to do
def primeFactors(n): primelist=[] while n % 2 == 0: primelist.append(2) n = n / 2