title: my loop is only printing the second part of the dictionary , i'm using json
body: <pre><code>import json
  
  data ='''
      {
     "names": {"first_boy" : "khaled"},
     "names": {"second_boy" : "waseem"}
      }
      '''
  info = json.loads(data)
  for line in info:
      print(info["names"])
  </code></pre>
  
  <p>I expected it to print the <code>first_boy</code> and the <code>second_boy</code> dictionary ,but it's printing </p>
  
  <p><code>{'second_boy': 'waseem'}</code></p>