📌  相关文章
📜  在线python转换器 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:29.864000             🧑  作者: Mango

代码示例4
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