i have created list x: >>> x = [(12, 22, 11), (13, 22, 33)] and want to print each number in tuple >>> for i in x: 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 -- http://mail.python.org/mailman/listinfo/python-list