TypeError: XXX object is not callable问题有可能的原因

TypeError: 'range' object is not callable

自己出现问题的原因是:
自己是在jupyter notebook中运行的可能前面的程序中使用了自定义的range方法,正确的做法是:
重新启动jupyter notebook的内核

你可能感兴趣的:(TypeError: XXX object is not callable问题有可能的原因)