input: Write a python function to retrieve the value of a specified key from a dictionary.
  assert get_value_from_dict({"name": "John Smith", "age": 27, "location": "New York"}, "age") == 27
  assert get_value_from_dict({"name": "Alice", "age": 30, "location": "California"}, "name") == "Alice"
  assert get_value_from_dict({"name": "Bob", "age": 25, "location": "Texas"}, "location") == "Texas"
output: def get_value_from_dict(d, key):
      return d[key]