Mega Code Archive
Categories
/
Python Tutorial
/
Tuple
Defining a Tuple
t = ("a", "b", "c", "z", "example") print t print t[0] print t[-1] print t[1:3]