input: 
  def dict_sum(d: dict) -> int:
      """Compute the sum of the values of a given dictionary.
      >>> dict_sum({'A': 5, 'B': 6, 'C': 10})
      21
      >>> dict_sum({'X': 3, 'Y': 7, 'Z': 1})
      11
      """
      return sum(d.values())
  
output:     return sum(d.values())