The potential adopter decides to adopt Lucky. Remove Lucky from the list of names, update the count of dogs at the shelter using the [] operator, and display the updated dictionary. [ ] 1 E20. Another potential adopter is looking for a hamster. Write an if-else statement that prints Yes if hamsters is in the dictionary, and No, otherwise. [ ] 1 E21. A potential adopter is interested in looking at all the animals available at the shelter, regardless of animal type. Display names for each animal type. [ ] 1 E22. Challenge problem! Just do your best to complete this function. There is an influx in new animals, structured in a dictionary format like the one below: [ ] 1 new_arrivals
=1
'cats': ['Lucy', 'Daisy', 'Max', 'Buddy'], 'dogs ' : ['Cooper', 'George'], 'hamsters': ['Bubble ', 'Harry', 'Chewy'] Write a function add_new_arrivals that takes a dictionary as the argument. It updates the animals dictionary categorizing these animals appropriately, updating the count of each animal type, and adding their names. It should be able to take any number of cats, dogs, and rabits. there is an animal type that does not already exist in the animals dictionary, it should be added to the dictionary, and the default adontion will be
$30