Below example shows how to delete list elements in Python at specified index:
ls = [1,2,3,4]
del ls[2]
print(ls)
This outputs:
[1,2,4]
Here another example, applying del operator to two lists at different indices:
a = ["a","b","c"]
b = [2,4,6]
del a[1], b[0]
print(a)
print(b)
The output looks as follows:
['a', 'c']
[4, 6]