KnowledgeBoat Logo

Computer Science

What do you understand by mutability? What does "in place" memory updation mean?

Python List Manipulation

61 Likes

Answer

Mutability means that the value of an object can be updated by directly changing the contents of the memory location where the object is stored. There is no need to create another copy of the object in a new memory location with the updated values. This updation of the existing memory location of the object is called as in place memory updation.

Answered By

34 Likes


Related Questions