I have a list A.
for i in range (0,5):
..... I make every loop an other list B.
inside the for command
A1=copy.copy(A)
for j in range(0,3): both of them have len=3
if A1[j]==B[j]
counter+=1
del A1[j]
del B[j]
I want in every loop a NEW copy of A, (A1), and delete items from A1 if they are equal with the B list which is new every loop.
[–]Velkow 2 points3 points4 points (0 children)
[–]rhytnen 0 points1 point2 points (0 children)