how to take out certain index for one list and add it to another python code example Example: python remove by index a = [0, 1, 2, 3, 4, 5] el = a.pop(2)