title: How to remove the last element in each list in a list
body: <p>I've got a list like:</p>
  
  <pre><code>alist = [[a,b,(1,2)], [a,b,(1,2)], [a,b,(1,2)]]
  </code></pre>
  
  <p>I want to remove the last element from all the elements in a list. So the result will be:</p>
  
  <pre><code>alist = [[a,b], [a,b], [a,b]]
  </code></pre>
  
  <p>Is there a fast way to do this?</p>