input: from typing import Dict
  
  def dict_sum(dict: Dict[str, int]) -> int:
      """Compute the sum of the values of a given dictionary.
      >>> dict_sum({'A': 5, 'B': 6, 'C': 10})
      21
      >>> dict_sum({'X': 1, 'Y': 2, 'Z': 3})
      6
      """
output:     total = 0
      for value in dict.values():
          total += value
      return total