title: Remove all occurrences of a value from a list?
body: <p>In Python <code>remove()</code> will remove the first occurrence of value in a list.</p>
  
  <p>How to remove <em>all</em> occurrences of a value from a list?</p>
  
  <p>This is what I have in mind:</p>
  
  <pre><code>&gt;&gt;&gt; remove_values_from_list([1, 2, 3, 4, 2, 2, 3], 2)
  [1, 3, 4, 3]
  </code></pre>