What is mutable and immutable data types? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is mutable and immutable data types?

2nd Sep 2021, 5:03 PM
Baxtishod Davronov
Baxtishod Davronov - avatar
6 Answers
+ 3
There must be description also about mutable and immutable data types.
2nd Sep 2021, 5:14 PM
A͢J
A͢J - avatar
+ 2
What about arrays?
2nd Sep 2021, 5:08 PM
Tim
Tim - avatar
+ 2
Nick lists are mutable objects, because you can change them by inserting and removing elements. :)
2nd Sep 2021, 10:45 PM
Chloe
Chloe - avatar
+ 2
Python has an amazing variety of data structures that you can use to represent data, or combine them to create your own custom data. A first fundamental distinction that Python makes on data is about whether or not the value of an object changes. If the value can change, the object is called mutable, while if the value cannot change, the object is called immutable.
4th Sep 2021, 7:24 AM
Arun Jamson
Arun Jamson - avatar
+ 1
Mutable data types can be change Immutable data types cannot be change Thats just the simplest way to explain that
2nd Sep 2021, 5:06 PM
✳AsterisK✳
✳AsterisK✳ - avatar
0
Thanks for answers
2nd Sep 2021, 5:13 PM
Baxtishod Davronov
Baxtishod Davronov - avatar