title: Beautiful soup getting the first child
body: <p>How can I get the first child?</p>
  
  <pre><code> &lt;div class="cities"&gt; 
         &lt;div id="3232"&gt; London &lt;/div&gt;
         &lt;div id="131"&gt; York &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>How can I get London? </p>
  
  <pre><code>for div in nsoup.find_all(class_='cities'):
      print (div.children.contents)
  </code></pre>
  
  <p>AttributeError: 'listiterator' object has no attribute 'contents'</p>