print("Access Element at Index 2:", my_tuple[2]) # Accessing the 3rd element print("Access Elements from Index 1 to 3:", my_tuple[1:4]) # Slicing ...
You can store heterogeneous data (of varying types) as a tuple which is a light-weight immutable data structure.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results