Cognizant interview question

What do you mean by mutability?

Interview Answer

Anonymous

9 Mar 2022

Mutability is the ability for certain types of data to be changed without entirely recreating it. This is important for Python to run programs both quickly and efficiently. Mutability varies between different data types in Python. A list is mutable, as demonstrated above.

1