Q
questions?
I want to do list index function.
File "<stdin>", line 1, in ?
TypeError: unsubscriptable object
It works with y=[1,2,3,4]. Anyone has any hint, what's the reason
here?
thanks
Traceback (most recent call last):y=['1','2','3','4']
y ['1', '2', '3', '4']
y.index['2']
File "<stdin>", line 1, in ?
TypeError: unsubscriptable object
It works with y=[1,2,3,4]. Anyone has any hint, what's the reason
here?
thanks