Я не знаю, что не так с моим кодом:
def check_Price():
title = soup.find(id="productTitle").get_text()
price = soup.find(id="priceblock_ourprice").get_text()
converted_price=float(price[2:8])
if(converted_price>42,999):
send_mail()
)
После запуска этого кода он выдает следующую ошибку:
converted_price=float(price[2:8])
ValueError: could not convert string to float: '42,999'