title: Filtering two lists simultaneously
body: <p>I have three lists:</p>
  
  <pre><code>del_ids = [2, 4]
  ids = [3, 2, 4, 1]
  other = ['a', 'b', 'c', 'd']
  </code></pre>
  
  <p>and my goal is to remove <code>del_ids</code> with the result being</p>
  
  <pre><code>ids = [3, 1]
  other = ['a', 'd']
  </code></pre>
  
  <p>I have tried to do a mask for elements to keep (<code>mask = [id not in del_ids for id in ids]</code>) and I plan to apply this mask on both lists. </p>
  
  <p>But I feel that this is not a pythonic solution. Can you please tell me how I can do this better?</p>