filmov
tv
Python's Mutable vs Immutable Types: Lists, Tuples, and Identity

Показать описание
This is a preview of the video course, "Differences Between Python's Mutable and Immutable Types." As a Python developer, you’ll have to deal with mutable and immutable objects sooner or later. Mutable objects are those that allow you to change their value or data in place without affecting the object’s identity. In contrast, immutable objects don’t allow this kind of operation. You’ll just have the option of creating new objects of the same type with different values.
This is a portion of the complete course, which you can find here:
The rest of the course covers:
- Looking at Immutable Built-in Data Types: Numbers & Booleans
- Seeing More Immutable Built-in Data Types: Strings & Tuples
- Switching to Mutable Built-in Data Types: Lists
- Exploring Mutable Built-in Data Types: Dictionaries & Sets
- Avoiding Mutability-Related Gotchas: Aliasing & Mutating Arguments
- Avoiding Further Gotchas: Mutable Default Arguments & Copying Objects
This is a portion of the complete course, which you can find here:
The rest of the course covers:
- Looking at Immutable Built-in Data Types: Numbers & Booleans
- Seeing More Immutable Built-in Data Types: Strings & Tuples
- Switching to Mutable Built-in Data Types: Lists
- Exploring Mutable Built-in Data Types: Dictionaries & Sets
- Avoiding Mutability-Related Gotchas: Aliasing & Mutating Arguments
- Avoiding Further Gotchas: Mutable Default Arguments & Copying Objects