Which THREE of the following dictionary methods return a view object that changes when the dictionary changes?
Trap 1: `dict.get()`
dict.get() returns the value for a key, not a view object. Incorrect.
Trap 2: `dict.copy()`
dict.copy() returns a shallow copy of the dictionary, not a view. Incorrect.
- A
`dict.keys()`
dict.keys() returns a view object that dynamically reflects changes to the dictionary. Correct.
- B
`dict.get()`
Why wrong: dict.get() returns the value for a key, not a view object. Incorrect.
- C
`dict.values()`
dict.values() returns a view object that dynamically reflects changes. Correct.
- D
`dict.copy()`
Why wrong: dict.copy() returns a shallow copy of the dictionary, not a view. Incorrect.
- E
`dict.items()`
dict.items() returns a view object of key-value pairs that dynamically reflects changes. Correct.