title: List comprehension on two lists
body: <p>Let's say I have two equal-length lists, <code>list1</code> and <code>list2</code>, both consisting of a bunch of numbers.  I want to remove all the elements of <code>list1</code> that don't meet a certain criterion.  Simple enough.  How would I also remove the corresponding elements from <code>list2</code> though?  If I remove, say, the 5th element of <code>list1</code>, I would also like to remove the 5th element of <code>list2</code>.  Example of what I'm trying to do below:</p>
  
  <pre><code>list1 = [i for i in list1 if i &gt;= 1]
  list2 = list2 #but with the corresponding values of list1 removed from list2 as well
  </code></pre>
  
  <p>I could come up with, say,</p>
  
  <pre><code>list2_temp = []
  for j in range(len(list1)):
      if list1[j] &gt;= 1:
          list2_temp.extend(list2[j])
  
  list1 = [i for i in list1 if i &gt;= 1]
  </code></pre>
  
  <p>but I am looking for a more "Pythonic" way to do it, specifically if there is any way I can use list comprehensions on <code>list2</code> as well as <code>list1</code>.  Any ideas/suggestions?</p>