title: Read from file to dictionary
body: <p>I have txt file with two columns:</p>
  
  <pre><code>user1 1
  user2 2
  user3 3
  user4 4
  user5 5
  </code></pre>
  
  <p>So, I read columns to dictionary:</p>
  
  <pre><code>def read_users(filename):
      users = {}
      with open('1.txt', 'r') as f:
          for line in f:
              words = line.split()
              users[words[0]] = words[1]
      return users
  </code></pre>
  
  <p>Function returns the following dictionary:</p>
  
  <pre><code>{'user4':'4'}; {'user5':'5'}; {'user1':'1'}; {'user2':'2'}; {'user3':'3'}
  </code></pre>
  
  <p>Why does it begin with user4? It should be from user1 to user5. Order of strings in file is correct.</p>