Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

Tuples vs. Lists

Reassignment and Immutability

Use lists when you need to change your data or append more items.

Because tuples are immutable, they can't be altered. That means they aren't the right choice when you need to loop over data and append it to a data structure.

Variable size

Use tuples when your data is fixed and pre-determined.

Lists are variable in size, meaning you ca...