Traceback (most recent call last):
File "python", line 13, in
KeyError: ('Sloth', 'Bengal Tiger')
why do we need to write:
del zoo_animals['Bengal Tiger']??
Cant you put more than 1 key in the bracket at the same time? For example
del zoo_animals['Sloth','Bengal Tiger']
Replace this line with your code.