print sum(L)报错inTypeError: 'int' object is not callable
>>> L=[] >>> x=1 >>> n=100 >>> while x <= 1="" n:="" ...="" x="">>> print sum(L) Traceback (most recent call last): File "
", line 1, inTypeError: 'int' object is not callable >>> 我这里“print sum(L)”为什么会报错呢?