标签:div span input put 求和 code form sum nbsp
a=eval(input()) n=eval(input()) m=0 sum=0 for i in range(1,n+1): m=m*10+2 sum+=m print("{}".format(sum))
数列求和
原文地址:https://www.cnblogs.com/670ling/p/12589993.html