+ 1
What is this python error?
What is this error? Traceback (most recent call last): File "..\Playground\", line 17, in <module> vars.append[code[i].split(" ")[1]] TypeError: 'builtin_function_or_method' object is not subscriptable also, how do I fix it? Thanks!
2 odpowiedzi
+ 3
vars.append([code[i].split(" ")[1])
If that doesn't work please share the code you're talking about.
+ 3
That works, thank you!