In Python, a tuple may be defined as a finite, static list of literals (numeric or string). For our purposes, a tuple is very similar to a list in that it contains a sequence of items. It differs from a list in that it cannot be changed once it is created. One can index, slice and concatenate, but one cannot append or alter the values of the tuple after it has been initialized.
To initialize a tuple, one encloses the values in parentheses and separates them by commas.
directions = ('north', 'south', 'east', 'west') coordinates = (45, 34, 48, 32) print directions print coordinates