+ 1
Which are immutable in python?
tuple, strings
2 Answers
+ 6
tuples are immutable
+ 5
a mutable object can be changed after it is created, and an immutable object can't. Objects of built-in types like (int, float, bool, str, tuple, unicode) are immutable. Objects of built-in types like (list, set, dict) are mutable. Custom classes are generally mutable