Q. What does `dict.pop('key')` do?
β
Correct Answer: (A)
Removes and returns the value for 'key'
Explanation: `pop()` removes the specified key and returns its value.