The way of dictionary


#1

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.


#2

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


#3

Thank you very much !


#4

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