Python webscraping using beautiful soup
<p><img src="https://i.stack.imgur.com/3BNrE.png" alt="Extract between span span"></p>

<pre><code>nameList = soup.find_all("span", {"class":"answer-number"})
for item in nameList:
    print('item.content[0]')
</code></pre>

<p>I wrote the above code, but it is not working. Please help. I want the number 6a from it.</p>

<p>Try changing your print statement to item.text</p>

python html parsing beautifulsoup