Tuple Slicing

Опубликовано: 02 Сентябрь 2022
на канале: Mobile Tutor
352
4

The video explains Tuple slicing, which is used to extract a range of items in a tuple. This can be done by using the simple slicing operator, colon. You can use indexes of tuple elements to create tuple slices as per the format shown
T[start:stop]
A tuple can support two types of indexing,
Positive indexing and Negative indexing.