<｜begin▁of▁sentence｜>### Instruction:
Given a MultiDict object containing multiple pairs of keys and values, can you use the getlist method to retrieve a list of all values associated with a specific key?
### Response:
from multidict import MultiDict

# Create a MultiDict object
md = MultiDict([('key1', 'value1'), ('key2', 'value2'), ('key1', 'value3')])

# Use getlist to retrieve all values for 'key1'
values_list = md.getlist('key1')

# Print the list of values
print(values_list)
<|EOT|>
