title: Finding a sum in nested list using a lambda function
body: <p>I have a data structure similar to this</p>
  
  <pre><code>table = [
      ("marley", "5"),
      ("bob", "99"),
      ("another name", "3")
  ]
  </code></pre>
  
  <p>What I would like to do, to get the sum of the 2nd column (5 + 99 + 3) functionally like this:</p>
  
  <pre><code>total = sum(table, lambda tup : int(tup[1]))
  </code></pre>
  
  <p>That would be similar syntax to the python function <code>sorted</code>, but that's not how you would use python's <code>sum</code> function. </p>
  
  <p>What's the pythonic/functional way to sum up the second column?</p>