原文:[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