title: Simple Nested loop?
body: <p>Simple question regarding nested loops.</p>
  <pre><code>stocks = {'GE': 6.28, 'XOM': 39.8}
  for quote in stocks.values():
      print(quote)
  
      for symbol in stocks.keys():
          print(symbol)
  
          print('You have purchased', symbol, 'for', quote)
  </code></pre>
  <p>Output:</p>
  <pre><code>GE
  You have purchased GE for 39.8
  XOM
  You have purchased XOM for 39.8
  </code></pre>
  <p>Why does it state that <code>GE</code> was purchased at <code>39.8</code> and not <code>6.28</code>?
  I tried to indent and dedent the loop code but to no luck. Please help?</p>