CBSE Class 12 Computer Science Question 117 of 120

Review of Python Basics — Question 12

Back to all questions
12
Question

Question 12

Lists are immutable while strings are mutable.

Answer

False

Reason — Lists are mutable, meaning we can modify their elements after creation. For example, we can change the value of a list element or append new elements to a list. Strings are immutable, meaning we cannot change the characters in a string after it has been created.