# Initial list ids = [4353, 2314, 2956, 3382, 9362, 3900] # i. Remove 3382 from the list ids.remove(3382) print(f"List after removing 3382: {ids}") # ii. Get the index of 9362 index_9362 = ids.index(9362) print(f"Index of 9362: {index_9362}") # iii. Insert 4499 in the list after 9362 ids.insert(index_9362 + 1, 4499) print(f"List after inserting 4499 after 9362: {ids}") # iv. Extend the list by adding [5566, 1830] to it ids.extend([5566, 1830]) print(f"List after extending with [5566, 1830]: {ids}") # v. Reverse the list ids.reverse() print(f"List after reversing: {ids}") # vi. Sort the list ids.sort() print(f"List after sorting: {ids}")