Python报错信息
来自YTYZX有图有真相的百科
Python提示object is not subscriptable的错误
Traceback (most recent call last):
File "<pyshell#14>", line 1, in <module> s1 = sm() File "D:\github.com_henry199101\6.00.1x_Files\Week_6\Problem_Set_6\caogao\qwer.py", line 8, in sm dict[key] = values[keys.index[key] + 3]
TypeError: 'builtin_function_or_method' object is not subscriptable
内建函数或者方法对象不能subscriptable