DEV Community

Discussion on: 50 Python Interview Questions and Answers

Collapse
 
tenerhades profile image
Tener

A list consists of mutable objects. (Objects which can be changed after creation)

Not quite. The list itself is mutable, but objects referenced in that list can be either mutable or immutable, and each element of said list is considered a reference (and possibly garbage collected thereafter).