input: Write a function to compute the sum of all values in a given dictionary (string → integer). Return the sum of all values. If the dictionary is empty, return 0.
  
  def compute_dict_sum(input_dict):
      result = 0
      for val in input_dict.values():
          result += val
      return result
  
  my_dict = {"a": 5, "b": 10, "c": 15}
  assert compute_dict_sum(my_dict) == 30
  
  empty_dict = {}
  assert compute_dict_sum(empty_dict) == 0
  
  another_dict = {"x": 3, "y": 7, "z": 9}
  assert compute_dict_sum(another_dict) == 19
output: def compute_dict_sum(input_dict):
      result = 0
      for val in input_dict.values():
          result += val
      return result