Trying to convert this scraped string list of odds fractions into a list of float decimals in the same format for use in calculations.
import requests
from bs4 import BeautifulSoup
url = requests.get('http://www.oddschecker.com/tennis/match-coupon')
html = url.content
soup = BeautifulSoup(html)
for row in soup.find_all("tr", {"data-market-id": True}):
participants = [item.get_text(strip=True) for item in row.find_all('span', class_='fixtures-bet-name')]
odds = [item.get_text(strip=True) for item in row.find_all('span', class_='odds')]
print (participants[0], odds[0], participants[1], odds[1])