defining tuple tuples are very similar to list except that the whole set of elements are enclosed in parentheses instead of square brackets just like when you slice listyou get new list and when you slice tupleyou get new tuple tupl ('tuple','is''an','immutable''list'tupl ('tuple''is''an''immutable''list'tupl[ 'tupletupl[- 'listtupl[ : ('is''an'python tuple methods the following code shows the methods in python tuplestupl ('tuple''is''an''immutable''list'tupl append('new'traceback (most recent call last)file ""line in tupl append('new'attributeerror'tupleobject has no attribute 'appendtupl remove('is'traceback (most recent call last)file ""line in tupl remove('is'attributeerror'tupleobject has no attribute 'removetupl index('list' tupl index('new'traceback (most recent call last)file ""line in tupl index('new'