input: Write a python function to remove a specified key from a dictionary using the pop method.
  assert remove_key({'name': 'Alice', 'age': 30, 'city': 'New York'}, 'city') == {'name': 'Alice', 'age': 30}
  assert remove_key({'brand': 'Ford', 'model': 'Mustang', 'year': 1964}, 'model') == {'brand': 'Ford', 'year': 1964}
  assert remove_key({'fruit': 'apple', 'color': 'green'}, 'fruit') == {'color': 'green'}
output: def remove_key(d, key):
      d.pop(key, None)
      return d