What would be the result of the following code?

What would be the result of the following code?


ages = {'Aaron': 6, 'Kelly': 3, 'Abigail': 1}

value = ages['Brianna']


Answer: KeyError


Learn More :