sum()函数在jupyternotebook中报错
s =sum(s)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-463-3ee4e54dcf40> in <module>
1 s =
----> 2 sum(s)
TypeError: 'int' object is not callable
知道了之前定义过一个sum函数
页:
[1]