input: def calculate_result(obj_list):
      """
      Given a list of objects, each containing an ID and a list of inputs, the function
      calculates the sum of the inputs for each object and returns a list of results. Each
      result contains the object's ID and the calculated sum.
      
      >>> obj_list = [{"id": 1, "inputs": [1, 2, 3]}, {"id": 2, "inputs": [2, 3, 4]}]
      >>> calculate_result(obj_list)
      [{'id': 1, 'result': 6}, {'id': 2, 'result': 9}]
      """
      result_list = []
  
      for obj in obj_list:
          result = {}
          result['id'] = obj['id']
          result['result'] = sum(obj['inputs'])
  
          result_list.append(result)
  
      return result_list
output:     result_list = []
  
      for obj in obj_list:
          result = {}
          result['id'] = obj['id']
          result['result'] = sum(obj['inputs'])
  
          result_list.append(result)
  
      return result_list