New course! Every coder should learn Generative AI!
Try a free lesson0
"mutable"-->
means that the object u made or u have u can change its elements..
immutable -->
u can not change
in python strings,tuples are immutable
sets,dictionaries are mutable...
strings-> "brunda"
tuple->('b', 'r', 'u', 'n', 'd', 'a')
set->['b', 'r', 'u', 'n', 'd', 'a']
etcetra.....
further info :
https://medium.com/@meghamohan/mutable-and-immutable-side-of-python-c2145cf72747?_e_pi_=7%2CPAGE_ID10%2C6754934843