Getting started with tuples - English

8301 visits



Outline:

What are tuples? How to declare tuples? Examples to declare tuples Demonstration of creating tuple Accessing tuples by their index positions Iteration over tuples Demonstration of immutability property of tuples How to swap values in tuples Similarities of tuples with lists Tuple packing and unpacking