input: Write a function to compute the sum of all values in a given dictionary (string → integer). The function should take in a dictionary as input and return the total sum of all the integer values in the dictionary.
  
  def compute_dict_sum(input_dict):
      result = 0
      for val in input_dict.values():
          result += val
      return result
  
  assert compute_dict_sum({"a": 5, "b": 10, "c": 15})==30
  assert compute_dict_sum({"x": 3, "y": 7, "z": 2})==12
  assert compute_dict_sum({})==0
  assert compute_dict_sum({"one": 1, "two": 2, "three": 3})==6
  assert compute_dict_sum({"a": -1, "b": 1, "c": 0})==0
output: def compute_dict_sum(input_dict):
      result = 0
      for val in input_dict.values():
          result += val
      return result