title: Wrong output order in Python
body: <p>There is something wrong with my code. It does not print out the way I wanted it to be.</p>
  
  <pre><code>print("Hello Herp, welcome to Derp v1.0 :)")
  
  inFile = input("Herp, enter symbol table file: ")
  symTbl = {}
  for line in open(inFile):
      i = line.split()
      symTbl[i[0]] = int(i[1])
  print("Derping the symbol table (variable name =&gt; integer value)...")
  for var1 in symTbl:
      print(var1 + " =&gt; " + str(symTbl[var1]))
  </code></pre>
  
  <p>When I open the textfile, it prints out this:</p>
  
  <pre><code>z =&gt; 30
  y =&gt; 20
  x =&gt; 10
  </code></pre>
  
  <p>Which is not right, I am expecting to have output like this:</p>
  
  <pre><code>x =&gt; 10
  y =&gt; 20
  z =&gt; 30
  </code></pre>
  
  <p>The original textfile is this:</p>
  
  <pre><code>x 10
  y 20
  z 30
  </code></pre>