[Solved] Python copy to new list and exclude items

[ad_1]

b = [item for x in a for item in x if x.index(item) in [0,3]]

let a be your main list. this returns item in position 0,3. moreover you can add any other index to that list if you want.

[ad_2]

solved Python copy to new list and exclude items