title: Add elements of a list together
body: <p>When I use the command</p>
  
  <pre><code>f.readline()[34:42].split()
  </code></pre>
  
  <p>I get the list <code>['00', '36', '52']</code>.</p>
  
  <p>I would like to:</p>
  
  <ol>
  <li><p>First multiply the single elements with different factors</p></li>
  <li><p>Then add them together.</p></li>
  </ol>
  
  <p>But what do I have to do to add them and get 88?</p>
  
  <p>When I try</p>
  
  <pre><code>int(f.readline()[34:42].split()[0]) + int(f.readline()[34:42].split()[1]) + int(f.readline()[34:42].split()[2])
  </code></pre>
  
  <p>It goes to the next line of the file and it doesn't add the 3 numbers of the same line, which I want to add together.</p>