What is the difference between mutable and immutable types in Python? Give examples.
Answer out loud, then flip0:00
Short answer
A mutable object can be changed in place after creation: list, dict, set, and most class instances.
list
dict
set
Card 1 of 16
Space flip · ↑ ↓ sections · ← → move · R again · G got it