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 this sum. 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": 7, "y": 14, "z": 21}) == 42
  assert compute_dict_sum({}) == 0
  assert compute_dict_sum({"k": 1, "m": 2, "n": 3}) == 6
output: def compute_dict_sum(input_dict):
      result = 0
      for val in input_dict.values():
          result += val
      return result