What do you understand by mutable and immutable in python?
Answer / Manu Kumar Pandey
In Python, a mutable object is an object whose state can be changed after it has been created. These include lists, dictionaries, and sets. On the other hand, an immutable object cannot be modified once it's created. Examples of immutable objects are integers, floats, and tuples.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does unittest main () do?
What are the 3 types of loops?
Does python supports hybrid inheritance?
What are the disadvantages of the python?
Why do we use __ init __ in python?
Explain about the programming language python?
What is form feed in python?
What are the types of python?
How to avoid having class data shared among instances?
Why is python called python?
Which gui is best for python?
Python list of lists, changes reflected across sublists unexpectedly