← Quiz: References and Copying: all 10 questions
Quiz: References and Copying · Question 5 of 10
Which of these types is mutable?
Which of these types is mutable?
- A.tuple
- B.str
- C.dict
- D.int
Answer & explanation
Correct answer: dict
Lists, dicts and sets can be changed in place; tuples, strings and numbers cannot.
Can you get the rest right without peeking?
Take the timed Quiz: References and Copying quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →