摘要:
帮同学做道题....其实真没什么好的做法....1defgetList(n):2result=[]3count=34max=n5whilemax%2==0:6max/=27result.append(2)89whilecount<=max:10ifmax%count==0:11result.append(count)12max/=count13else:14count+=215returnresult1617printgetList(600851475143) 阅读全文