input: def calculate_result(obj_list):
      """
      Takes a list of objects, each containing an ID and a list of inputs, and calculates a result for each object.
      The result is the sum of the inputs for each object. Returns a list of dictionaries, each containing the 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:     results = []
      for obj in obj_list:
          result = sum(obj['inputs'])
          results.append({'id': obj['id'], 'result': result})
      return results