Skip to main content
1. Indexing
We can use the index operator []
to access an item in a tuple where the index starts from 0.
2. Negative Indexing
A negative index means index number from the right of that tuple.
3. Slicing
We can access a range of items in a tuple by using the slicing operator - colon ":".
Comments
Post a Comment