<｜begin▁of▁sentence｜>### Instruction:
Given a MultiDict object 'd', how can you add multiple values (e.g., 'ham' and 'eggs') to the same key 'spam', and retrieve the list of all values associated with the key 'spam'?
### Response:
from multidict import MultiDict

d = MultiDict()
d.add('spam', 'ham')
print(d['spam'])
d.add('spam', 'eggs')
print(d.getall('spam'))
<|EOT|>
