Python Tuples
A tuple is a collection which is ordered and unchangeable. In Python tuples are written with round brackets.
Example –
tup1 = (‘physics’, ‘chemistry’, 1997, 2000);
tup2 = (1, 2, 3, 4, 5 );
Let’s explore more about tuple through jupyter notebook.
Leave a Reply