title: How to delete a fixed number of items from end of list in python
body: <p>If you have a list</p>
  
  <pre><code>myList = [1,2,3,4,5,6,7,8,9,0]
  </code></pre>
  
  <p>Is there a pythonic way to delete a defined number of items from the end of a list. </p>
  
  <p>EG (pseudocode):</p>
  
  <pre><code>removeFromend(myList, 3)
  print myList
  
  &gt;&gt;&gt;[1,2,3,4,5,6,7]
  </code></pre>