title: Two separate lists of ints in from the same text file Python
body: <p>I am having trouble trying to make two separate list of ints from the same text file.
  Any help is appreciated.</p>
  <p>Code:</p>
  <pre><code>a = []
  b = []
  f = open('input.txt', 'r')
  for line in f.readlines():
      a.append(int(line[0].strip().split()))
      b.append(int(line[1].strip().split()))
  </code></pre>
  <p>input.txt file:</p>
  <pre><code>40 30 50 10
  2 5 10 5
  </code></pre>
  <p>What I want:</p>
  <pre><code>a = [40,30,50,10]
  b = [2,5,10,5]
  </code></pre>