console Oct 6, 2011 x = (4, 6, 8) print x (4, 6, 8) y = 9,5,6 print y (9, 5, 6) print x[1] 6 print y[1] 5 y[0] = 2 Traceback (most recent call last): File "", line 1, in TypeError: 'tuple' object does not support item assignment z = ([5,6],[7,8]) print z ([5, 6], [7, 8]) z[0][1] = 12 print z ([5, 12], [7, 8]) z[0].append(4) print z ([5, 12, 4], [7, 8]) z.append([5,6]) Traceback (most recent call last): File "", line 1, in AttributeError: 'tuple' object has no attribute 'append' z[0].remove(5) z[0].remove(12) z[0].remove(4) print z ([], [7, 8])