Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 9: Introduction to Python Data Structures: Lists, Tuples, and Dictionaries!
Instruction
Tuples
Tuples are like lists, except that once you create them, you canβt change them. This is why tuples are great if you want to store fixed parameters or entities within your Python code, since they canβt be overwritten even by mistake. You can extract elements of a tuple, but you canβt overwrite them. This is called immutable.
Note that, like lists, tuples can be heterogenous, which is also u...