input: 
  def delete_key(dic, k):
      """ Delete a given key from a dictionary.
      >>> dictionary = {'foo': 1, 'bar': 2, 'baz': 3}
      >>> delete_key(dictionary, 'baz')
      >>> print(dictionary)
      {'foo': 1, 'bar': 2}
      >>> dictionary = {'one': 1, 'two': 2, 'three': 3}
      >>> delete_key(dictionary, 'four')
      >>> print(dictionary)
      {'one': 1, 'two': 2, 'three': 3}
      """
      if k in dic:
          del dic[k]
  
output:     if k in dic:
          del dic[k]