title: Filtering a list of tuples filled with None in python
body: <p>Let's say I have a list of tuples like the following:</p>
  
  <pre><code>my_list = [(2, 3), (3, None), (None, None), (3, 4), (None, 2)]
  </code></pre>
  
  <p>How can I filter this list in order to:</p>
  
  <ol>
  <li>Remove all tuples containing <strong>at least one</strong> <code>None</code></li>
  <li>Remove <strong>only</strong> the tuples that <strong>both values</strong> are <code>None</code></li>
  </ol>
  
  <p>So the outcome in each case should be:</p>
  
  <ol>
  <li><code>[(2, 3), (3, 4)]</code></li>
  <li><code>[(2, 3), (3, None), (3, 4), (None, 2)]</code></li>
  </ol>