input: Write a function to compute the sum of all values in a given dictionary where the keys are strings and the values are integers. The function should return the sum of all integer values. If the dictionary is empty, the function should return 0.
  
  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": 1, "y": 2, "z": 3})==6
  assert compute_dict_sum({})==0
  assert compute_dict_sum({"p": 7, "q": 8, "r": 9})==24
output: def compute_dict_sum(input_dict):
      result = 0
      for val in input_dict.values():
          result += val
      return result