Mega Code Archive

 
Categories / Python Tutorial / Tuple
 

Containing mutable objects that can be changed

t = (['xyz', 123], 23, -103.4) print t print t[0][1] t[0][1] = ['abc', 'def'] print t