Give a example of immutable data type.
Answers
Answered by
2
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
Answered by
1
Tuples are immutable i.e the value cannot be changed. So, Option D is correct.
Similar questions