title: How to sum a list of numbers stored as strings
body: <p>Having a list of numbers stored as strings how do I find their sum?</p>
  <p>This is what I'm trying right now:</p>
  <pre><code>numbers = ['1', '3', '7']
  result = sum(int(numbers))
  </code></pre>
  <p>but this gives me an error:</p>
  <pre class="lang-none prettyprint-override"><code>Traceback (most recent call last):
    File &quot;main.py&quot;, line 2, in &lt;module&gt;
      result = sum(int(numbers))
  TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'
  </code></pre>
  <p>I understand that I cannot force the list to be a number, but I can't think of a fix.</p>