Hi guys , Im a little unfamiliar with Python . Hope you can take a look at this:

Im trying to extract the number 7.2 from the html string below using python:
Code:
'''<a href="/ratings_explained">weighted average</a> vote of <a href="/List?ratings=7">7.2</a> / 10</p><p>'''
I thought this would be code to do this .But how come this doesnt work ?
...