title: Filter a list of tuples based on condition
body: <p>I have a list like this:</p>
  
  <pre><code>A=[(1,'A'),(2,'H'),(3,'K'),(4,'J')]
  </code></pre>
  
  <p>Each member of this list is like this: (number, string) </p>
  
  <p>Now if I want to select the members if the number is bigger than 2 and write the string, what should I do?</p>
  
  <p>For example:
  selecting the member with a number bigger than 2. the output should be: <code>'K','J'</code></p>