>>> t=(1,2,3.1415,'ahoj') >>> t (1, 2, 3.1415, 'ahoj') >>> t[0] 1 >>> t[3] 'ahoj' >>> t[2:] (3.1415, 'ahoj') >>> t[0:2] (1, 2) >>> t (1, 2, 3.1415, 'ahoj') >>> t[0]=999 --------------------------------------------------------------------------- TypeError Traceback (most recent call last) in () ----> 1 t[0]=999 TypeError: 'tuple' object does not support item assignment >>>