def zys(n, value=[]):
for i in range(2, int(n / 2 + 1)):
if n % i == 0:
value.append(i)
zys(n / i, value)
return value
if i >= n / 2 - 1:
value.append(int(n))
break
例如:输入90,打印出90=2*3*3*5
print(zys(90))