标签:eval val 求和 nbsp color pre bin col put
n=eval(input()) num=1 hebing=0 if n>0: for i in range(1,n+1): num=i*num hebing+=num print("%d"%(hebing))
阶乘求和
原文地址:https://www.cnblogs.com/670ling/p/12589921.html