+ 3
Which are immutable data types and how??
1.tuple 2. List 3.dictionary 4.set 5.float EXPLAIN PLZ
2 Respostas
+ 3
On the other hand, mutable types like lists and dictionaries can be modified and grow in size.
+ 1
int
float
bool
string
unicode
tuple
This are immutable.
In simple words, an immutable object can’t be changed after it is created.
Ex.
My_string="hello"
My_string[0]="C"
#Error