input: def calculate_result(obj_list):
      """ Calculate the sum of the 'inputs' for each object in the given list, and return a new list of dictionaries
      where each dictionary contains the object's 'id' and the calculated 'result'.
      >>> calculate_result([{"id": 1, "inputs": [1,2,3]}, {"id": 2, "inputs": [2,3,4]}])
      [{'id': 1, 'result': 6}, {'id': 2, 'result': 9}]
      """
output:     result_list = []
      for obj in obj_list:
          result = sum(obj['inputs'])
          result_list.append({'id': obj['id'], 'result': result})
      return result_list