Tuples is a collection of related data . Tuples is a collection of ordered and immutable data . Immutable things can’t change . In python tuples are written with round brackets .
How to create a tuple ?
Access Tuple items
Range of indexes :
You can define the range of indexes where to start and where to end .
The search will start at index (1) and end with index(5).. Run the following program is .
Range of negative indexes
Negative indexes if you want to start search then start the search from end .
The example returns the items from indexes (-4) to indexes (-2) .