The way of dictionary


Could you please tell me how could i delete more than one value in the same dictionary in the same time ? :

instead of :
del zoo_animals['Sloth']
del zoo_animals['Bengal Tiger']

Thank you for your help.


No such operation aside from creating a new dictionary
What's so bad about removing one at a time?


Thank you very much !


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.