<human>:  how to get inverse dict in.
<bot>: = 'value2'

# Calling the function
print((get_inverse_dict(d)))

#Example Output
# {'value1': 'key1', 'value2': 'key2'}

#Remember to inspect code for bugs.