2020-12-13
阅读量:
1211
python报错: TypeError: 'int' object is not callable
问:
python报错:
TypeError: 'int' object is not callable

答:
检查前面的代码发现是因为前面不小心执行了min=3,将min赋值为3,使其失去了原函数的作用,解决方法是执行del min恢复其函数的功能再调用:

92.2353
1
0
关注作者
收藏
评论(0)
发表评论
暂无数据
推荐帖子
0条评论
0条评论
0条评论

