title: confused about dictionary in python
body: <p>I have the following dict</p>
  
  <pre><code>commands = {
  
  'cmd1':"configure terminal",
  
  'cmd2':"router",
  
  'cmd3':"MPLS"
  
  }
  </code></pre>
  
  <p>when I execute the following code:</p>
  
  <pre><code>   `for cmd in commands:
              print(cmd)
  </code></pre>
  
  <p>I always get cmd3 as 1st print, why is that?</p>
  
  <p>I am doing something wrong. </p>