python how to remove an element from one list and popping an element from another list at the index of the removed element code example
Example: python remove by index
a = [0, 1, 2, 3, 4, 5]
el = a.pop(2)
a = [0, 1, 2, 3, 4, 5]
el = a.pop(2)