标签:highlight nts nbsp return += 一个 int def ret
def persistence(n,countSum=0): num = 1 if len(str(n)) !=1: for i in str(n): num = num * int(i) countSum += 1 return persistence(num,countSum=countSum) else: return countSum
标签:highlight nts nbsp return += 一个 int def ret
原文地址:http://www.cnblogs.com/dreamyu/p/7602432.html