Sorry but im stuck on this problem on python


Oops, try again. It looks like the printed output is 47.72 instead of 54.63. Double check the instructions!

to work

Replace this line with your code. 
# Assign the variable total on line 8!

meal = 44.50
tax = 0.0675
tip = 0.15

meal = meal + meal * tax
total = meal + tax + tip

print("%.2f" % total)


Which of the two mentioned outcomes do you think is correct?
If you agree with your program then you've misinterpreted the instructions. If you disagree with your program then you've got the code wrong.


im just confused. all the instructions say is to make total = meal


Seems to me like it says a bit more than just that.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.