Python vs C++ Series: Mutable, Immutable, and Copy Assignment

Python objects’ immutability is defined by their types. Knowing which data types are mutable, which are not and the behavior when using mutable objects in certain situations is critical to avoid writing bug code.

Click here to read the article