title: How to get 2nd elements from tuples in Python?
body: <p>I would like to have an array with all 2nd elements for which the first element is equal to 'tuple1elem1'. How can I do this efficiently? I have around 500 tuples.</p>
  
  <p><strong>Tuples:</strong></p>
  
  <pre><code>(('tuple1elem1', 'tuple1elem2'), ('tuple2elem1', 'tuple2elem2'), ('tuple3elem1', 'tuple3elem2'))
  </code></pre>
  
  <p><strong>What I would like to have:</strong></p>
  
  <pre><code>array = ['tuple1elem2']
  </code></pre>