title: cannot print out [0] data from following html code
body: <p>Can I just print out [0] from the html ?</p>
  
  <pre><code>from bs4 import BeautifulSoup
  
  soup=BeautifulSoup("""&lt;div class="couponTable"&gt;&lt;div id="tgCou1" class="tgCoupon couponRow"&gt;&lt;span class="spBtnMinus"&gt;&lt;/span&gt;&lt;!-- react-text: 67 --&gt;Wednesday Matches&lt;!-- /react-text --&gt;&lt;/div&gt;&lt;div class="couponRow rAlt1 tgCou1" id="rmid20180905WED1"&gt;&lt;img src="/ContentServer/jcbw/images/flag_JLC.gif?CV=L302R1g" alt="Japanese League Cup" title="Japanese League Cup" class="cfJLC"&gt;&lt;img src="/ContentServer/jcbw/images/icon_tv-C661.gif?CV=L302R1g" alt="C661-i-CABLE 661 C601-i-CABLE 601" title="C661-i-CABLE 661 C601-i-CABLE 601"&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="/football/info/images/btn_odds.gif?CV=L302R1g" alt="All Odds" title="All Odds"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="couponRow rAlt0 tgCou1" id="rmid20180905WED2"&gt;&lt;img src="/ContentServer/jcbw/images/flag_JLC.gif?CV=L302R1g" alt="Japanese League Cup" title="Japanese League Cup" class="cfJLC"&gt;&lt;img src="/ContentServer/jcbw/images/icon_tv-C662.gif?CV=L302R1g" alt="C662-i-CABLE 662 C602-i-CABLE 602" title="C662-i-CABLE 662 C602-i-CABLE 602"&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="/football/info/images/btn_odds.gif?CV=L302R1g" alt="All Odds" title="All Odds"&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;""",'html.parser')
  
  lines=soup.find_all('img')
  for line in lines:
      print(line['alt'])
  </code></pre>
  
  <p>Output</p>
  
  <pre><code>Japanese League Cup
  C661-i-CABLE 661 C601-i-CABLE 601
  All Odds
  Japanese League Cup
  C662-i-CABLE 662 C602-i-CABLE 602
  All Odds
  </code></pre>
  
  <p>Expected Output</p>
  
  <pre><code>Japanese League Cup
  Japanese League Cup
  </code></pre>