Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mutable and immutable in python

IMMUTABLE datatypes (e.g. int, float, bool, str, tuple, unicode) cant be changed after they are created, 
MUTABLE datatypes (e.g. list, set, dict, byte array) can be changed
 
PREVIOUS NEXT
Tagged: #mutable #immutable #python
ADD COMMENT
Topic
Name
3+5 =