beautiful soup just get the value inside the tag
try this:
for a in volume:
a.get_text()
recent response to this question
managing exceptions 1
managing exceptions 2
Extract the string from the element:
volume = soup.findAll("span", {"id": "volume"})[0].string
Using css selector:
>>> soup.select('span#volume')[0].text
u'16,103.3'