Python has different data types than C, including mutable and immutable)
All the variables in Python are reference values, that is, the variables point to their values by binding. Here, immutable refers to the immutable value. If you want to change an unchangeable variable, a new value is created to bind the variable to the new value. If the old value is not referenced, garbage collection is pending. Another feature of an unchangeable type is that it can calculate its hash value so that it can be further used as the dictionary key. When you operate an object on a mutable data, you do not need to apply for memory elsewhere. You only need to apply for (+/-) continuously after this object, that is, its address will remain unchanged, but the region will become longer or shorter.
Unchangeable types include: int string float tuple
Variable types include: List dict