为什么我输入这段代码,执行不出来啊
x1=1 d=3 n=100 x100=x1+(n-1)d s=(x1+x100)*n/2 print s
File "<stdin>", line 1
x1=1 d=3 n=100 x100=x1+(n-1)d s=(x1+x100)*n/2 print s
x1=1 d=3 n=100 x100=x1+(n-1)d s=(x1+x100)*n/2 print s
File "<stdin>", line 1
x1=1 d=3 n=100 x100=x1+(n-1)d s=(x1+x100)*n/2 print s
2017-01-21
举报