G
Gigs_
i have created list x:
and want to print each number in tuple for j in i:
print j[0]
but I get this error. What does it means?
Traceback (most recent call last):
File "<pyshell#60>", line 3, in <module>
print j[0]
TypeError: 'int' object is unsubscriptable
thanks
>>> x = [(12, 22, 11), (13, 22, 33)]
and want to print each number in tuple for j in i:
print j[0]
but I get this error. What does it means?
Traceback (most recent call last):
File "<pyshell#60>", line 3, in <module>
print j[0]
TypeError: 'int' object is unsubscriptable
thanks