I need help


#1

I was doing the tip calculator and I’m on the final step but for some reason it isn’t working, heres my code.

meal = 44.50
tax = 6.75 / 100
tip = 15.0 / 100

meal = meal + meal * tax
total = meal

print("%.2f" % total)

(it says the printed total has to be 54.63)

Ok nevermind I miss read the instructions.


#2

you forgot to actually include the tip into total, good to hear you resolved the issue yourself :slight_smile:


#3

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