0
inC = list(range(6))
outC = list(range(2))
tx = inC
for j in range(0,len(outC)):
    tx.remove(outC[j])
print(inC, outC, tx)

Output:

[2, 3, 4, 5] [0, 1] [2, 3, 4, 5]

Notice that inC and tx both have 0 and 1 removed. Is this the way it is supposed to work?

dcg
  • 4,187
  • 1
  • 18
  • 32

0 Answers0