I have two lists, A1
and A2
with indices. I want to find out A1 - A2
. The desired output is attached.
A1= [(0,0),(0,1),(0,2),(1,0),(1,1),(2,1),(2,0),(2,1),(2,2)]
A2= [(0,0),(0,1),(0,2)]
The desired output is
[(1,0),(1,1),(2,1),(2,0),(2,1),(2,2)]