What is the difference between a Mutable datatype and an Immutable data type?



What is the difference between a Mutable datatype and an Immutable data type?..

Answer / 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

More Python Interview Questions

What is composition in python?

0 Answers  


How you can access sessions in flask?

0 Answers  


What is standard output in python?

0 Answers  


Is python pass by reference?

0 Answers  


What is the use of negative indices?

0 Answers  






Is javascript easier than python?

0 Answers  


How do I install pip?

0 Answers  


How does python input work?

0 Answers  


How do I download a file over http using python?

0 Answers  


So, what is an iterator, then?

0 Answers  


Is there any equivalent to scanf() or sscanf()?

0 Answers  


What is class variable in python?

0 Answers  


Categories