KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This is my code: a = dict(aa='aaaa', bb='bbbbb', cc='ccccc', ...) print(a.pop(['cc', ...])) but this raises an error. What is the best simple way to pop many elements from a python dictionary?
Tags (comma-separated)
Save Edits
Cancel