<｜begin▁of▁sentence｜>### Instruction:
Given a MultiDict object, how can you add multiple values to the same key and later retrieve the list of values associated with that key?
### Response:
from multidict import MultiDict

# Create a MultiDict instance
d = MultiDict()

# Add items to the multidict
d.add('spam', 'ham')
d.add('spam', 'eggs')

# Retrieve the list of items associated with 'spam'
item_list = d.getall('spam')
print(item_list)
<|EOT|>
