input: def dict_sum(dictionary: dict) -> int:
      """Computes the sum of the values in a given dictionary.
      >>> dict_sum({'A': 5, 'B': 6, 'C': 10})
      21
      """
output:     total = 0
      for value in dictionary.values():
          total += value
      return total