title: Sum one column of a list(follow up)
body: <p>I have a list that that looks like this:</p>
  
  <pre><code>('string ', 'time', 'SPY', 0, 0, 131.63, 100),
  ('sting ', 'time', 'SPY', 0, 0, 131.63, 700)
  </code></pre>
  
  <p>what I want to do is add the last column of data</p>
  
  <p>What I though to do is unzip the list and then sum the absolute value of the date in the last column but I cant get it to work correctly</p>
  
  <p>what I have been trying is this:</p>
  
  <pre><code>testsum = sum(abs(zip(*list[:-1]))
  </code></pre>
  
  <p>thanks</p>
  
  <p>EDIT:
  Ok so thanks for the response</p>
  
  <pre><code>sum(l[-1]) for l in list
  </code></pre>
  
  <p>worked well but I forgot to mention that I have it running in a for loop and what I really want to do is add all the sums that are outputted I'm really confused and am unsure how to do that I though I could do the same thing again but it didnt work</p>