What are immutable and mutable types ? List immutable and mutable types of Python.

Mutable types are those whose values can be changed, added or deleted in place. Some mutable types are-
integers, boolean, string, tuple etc.

Immutable types are those whose values once assigned can not be changed in place. Some immutable types are- list, dictionaries, sets

error: Content is protected !!