Which of the following is a mutable data type?
-
A
Tuple
-
B
String
-
C
List
Correct answer
-
D
Integer
13 views
Explanation
Lists are mutable (can be changed after creation). Tuples and strings are immutable. Source: NBF StudyHub, Chapter 2, Q4.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ