Python - Custom Exceptions
What will be the output of this code?
try:
raise KeyError('key missing')
except LookupError:
print('Caught LookupError')
except KeyError:
print('Caught KeyError')