📅  最后修改于: 2022-03-11 14:45:29.864000             🧑  作者: Mango
Def primeFactors(n)
While n%2 ==0
Print 2
N=n/2
For i in range (3, int(math.sqrt(n))+1,2)
While n%i == 0
Print i
N=n/i
If n>2
Print n