<｜begin▁of▁sentence｜>### Instruction:
Given a list of key-value pairs where keys might repeat, can you create a MultiDict object that allows storing multiple values for the same key and retrieve all values associated with 'key1'?
### Response:
from multidict import MultiDict

# Initialize a MultiDict with some key-value pairs
my_dict = MultiDict([('key1', 'value1'), ('key2', 'value2'), ('key1', 'value3')])

# Print out all values for 'key1'
values_for_key1 = my_dict.getall('key1')
print(values_for_key1)
<|EOT|>
