有什麼不對下面的代碼,它一直給錯誤「不是字符串中轉換所有參數格式」:Python語法問題
mealPrice = raw_input ("How much did you pay for your meal?: ")
hst1 = 0.13
hst1 = int(hst1)
totalprice = (float(mealPrice) * hst1)
print "Cost of meal", mealPrice
print "Taxes", hst
print "-------------------------------"
print "Total", totalPrice
你的Python代碼'end'? –