Mega Code Archive

 
Categories / Python / Tuple
 

A tuple consists of a number of values separated by commas

t = 12345, 54321, 'hello!' print t[0] print t