title: Remove both duplicates in multiple lists python
body: <p>I have three lists X, Y, Z as follows:</p>
  
  <pre><code>X: [1, 1, 2, 3, 4, 5, 5, 5]
  Y: [3, 3, 2, 6, 7, 1, 1, 2]
  Z: [0, 0, 1, 1, 2, 3, 3, 4]
  </code></pre>
  
  <p>I am trying to remove both duplicated set of values at the same index of the lists get a reduced list as follows, all three list will always have the same length initially and at the end as well:</p>
  
  <pre><code>X: [2, 3, 4, 5]
  Y: [2, 6, 7, 2]
  Z: [1, 1, 2, 4]
  </code></pre>
  
  <p>I tried using the zip(X, Y, Z) function but I can't index it and the dict.fromkeys only removes one of the duplicates and leaves the other in the new list. I want to be able to remove both.</p>
  
  <p>Any help is appreciated!</p>