input: Write a function that takes in a dictionary (string → integer) and returns the sum of all values in the dictionary. If the input dictionary is empty, the function should return 0.
  
  def compute_dict_sum(input_dict):
      if not input_dict:
          return 0
      return sum(input_dict.values())
  
  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": 14}) == 21
output: def compute_dict_sum(input_dict):
      if not input_dict:
          return 0
      return sum(input_dict.values())