好的,我需要把一个字符串变成一个浮点数做一些数学运算然后回到一个字符串
def item_price(data): #grabs price of item
soup = BeautifulSoup(data)
info = soup.find('span', itemprop='price').text
info = info.replace("$","")
info = float(info); # but evary thing below this line goes wrong
info = info * .2 + info
info = "$" + string(info);
return(info);