title: Delete all values in list outside of specified range python
body: <p>I have a list (let's call it L1) with plenty of decimal values. How do I remove all values outside of some specified range while keeping all values within the range?<br>
  For instance, let's say I define my range as [-1, 1] and   </p>
  
  <pre><code>L1 = [-2, 0.1, 0.75, 4] 
  </code></pre>
  
  <p>I would want my output to be a new list, i.e.   </p>
  
  <pre><code>L2 = [0.1, 0.75]
  </code></pre>
  
  <p>I've heard there was a way to do this with numpy (though I can't find the SO question for the life of me), but I was wondering if there was another way, just using the built-in functions (of course if numpy is better for this sort of thing, then that's fine too).</p>