title: python - iterating over a subset of a list of tuples
body: <p>Lets say I have a <strong>list of tuples</strong> as follows</p>
  
  <pre><code>l = [(4,1), (5,1), (3,2), (7,1), (6,0)]
  </code></pre>
  
  <p>I would like to iterate over the items where the 2nd element in the tuple is 1?</p>
  
  <p>I can do it using an if condition in the loop, but I was hoping there will a be amore <em>pythonic</em> way of doing it?</p>
  
  <p>Thanks</p>