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?

Edit
Report