这个报错的原因是??
L = range(1,101) for i in L : B = i*i print sum(B) Traceback (most recent call last): File "index.py", line 4, in print sum(B) TypeError: 'int' object is not iterable
L = range(1,101) for i in L : B = i*i print sum(B) Traceback (most recent call last): File "index.py", line 4, in print sum(B) TypeError: 'int' object is not iterable
2018-05-24
举报