What is the difference between a Mutable datatype and an Immutable data type?
Answer Posted / nashiinformaticssolutions
Data types that are mutable can be altered at runtime. For instance, a dictionary, list, etc.
Immutable data types cannot be changed at runtime, so they cannot be altered. For instance, String, Tuple, etc.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is gil in python?
What do you mean by list comprehension?
What is set when we have to use?
What does end do in python?
Explain try, raise, and finally?
Mention what is the difference between Django, Pyramid, and Flask.
How do you append to a list in python?
Explain about cookies in python?
Can we return a string in python?
Can you list down some of the pdb commands for debugging python programs?
How can you make modules in python?
What is the use of assertions in python?
What does mean in python?
Difference between mutable and immutable in python?
What are the immutable build-in data types of python?