input: 
  def dict_sum(d: dict) -> int:
      """
      Given a dictionary with integer values, compute the sum of the values.
  
      >>> dict_sum({'A': 5, 'B': 6, 'C': 10})
      21
      >>> dict_sum({'X': 2, 'Y': 0, 'Z': -3})
      -1
      >>> dict_sum({})
      0
      """
      return sum(d.values())
  
output:     return sum(d.values())