[solved] What am I doing wrong?


Assign the variable total on line 8!

meal = 44.50
tax = 0.0675
tip = 0.15

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

print("%.2f" % total)

in print:
what the value should be showing:

What am I doing wrong?


Don't you think, that total should be counted differently than meal?


pls help, im so confused


ok, to be more specific

here you counted, how much meal cost with tax added

but here you suposed to count total which is meal + tip (not tax again)


oh, (face palmed myself for my own stupidity). thank you! I did not notice that.