what are immutable and mutable types ?list immutable and mutable types of python.
Answers
Answered by
6
Answer:
Simple put, 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.
Please mark as brainlist answers
Explanation:
Answered by
0
Tuples are immutable i.e the value cannot be changed. So, Option D is correct.
Similar questions