<human>:  lookup value based on key.
<bot>:

# Enter the dictionary
dictionary = {'key1': 'value1', 'key2': 'value2'}

# Enter the key
key = 'key1'

# Calling the function
print((lookup_value(dictionary, key)))

#Example Output
# value1

#Remember to inspect code for bugs.