Data Structures, Data Engineering, Arrays, Algorithms, Data Science.
[10, 20, 30, 40, 50] print(arr[2]) # Output: 30 Operations: Insert: Python lists allow dynamic insertion. arr = [10, 30, 40] arr.insert(1, 20) # Inserting '20' at index 1 print(arr) # Output: [10, 20, 30, 40] 2. Delete: Removing elements using the index. arr = [10, 20, 30, 40] del arr[2] print(arr)