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


Please Help Members By Posting Answers For Below Questions

Explain important characteristics of python objects?

562


Can I build website using python?

498


What is difference between set and list in python?

484


How do you take input in python?

581


Is java or python better?

530






What is python private heap space?

588


How to get the current time in python?

512


How can you prevent abnormal termination of a python program?

551


What is yaml file in python?

476


Tell me how do you debug a program in python? Is it possible to step through python code?

501


Do you know the number of keywords in python?

507


Can python make websites?

492


How to save an image locally using python whose url address I already know?

531


How multithreading is achieved in python?

501


What is a numpy array?

499