Q. Which statement will throw a KeyError?
β
Correct Answer: (B)
dict['x']
Explanation: `dict['x']` throws a KeyError if 'x' is not present.