为什么在这上面运行通过了在电脑上运行会提示错误Traceback (most recent call last): File "D:\czp.py", line 321, in <module> print sum(L) TypeError: 'int' object is not callable
L=[] x=1 N=100 while x<=N: L.append(x*x) x=x+1 print sum(L)
L=[] x=1 N=100 while x<=N: L.append(x*x) x=x+1 print sum(L)
2019-08-07
举报