原文:[Trouble Shooting - Python] TypeError: 'builtin_function_or_method' object is not subscriptable

. Background: python win . Error Line: . Solution index 是对list的函数,所以要用圆括号,而不是方括号 ...

2018-04-30 06:48 0 2779 推荐指数:

查看详情

Python报错'builtin_function_or_method' object is not iterable

这个程序是正确的版本 上面这个程序出现了错误 他报程序第7行也就是for循环那边不可以迭代,for循环只有z我们,我们从上面的图片看到z的赋值那边与正确答案不对,使用join错 ...

Tue Apr 07 08:59:00 CST 2020 0 836
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM