I don't know what is wrong with my code:
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()
)
After running this code it is giving me following error:
converted_price=float(price[2:8])
ValueError: could not convert string to float: '42,999'
42.999you cannot use a comma seperator