python
# Check if 'city' exists in the dictionary using get()
result = my_dict.get('city')

if result is not None:
    print(f'The key "city" exists in the dictionary with the value: {result}')
else:
    print('The key "city" does not exist in the dictionary.')