QUESTION IMAGE
Question
question: 3
which of the following data structures is immutable?
○ tuple
○ list
○ dictionary
○ 2d list
Brief Explanations
An immutable data structure cannot be modified after creation. Tuples in programming (e.g., Python) are immutable—their elements cannot be changed, added, or removed once defined. Lists (including 2D lists) and dictionaries are mutable, as their contents can be altered post-creation.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
Tuple