Number outcome


#1

**

Error Code:
Oops, try again. It looks like the printed output is 47.50 instead of 54.63. Double check the instructions!

Script:
Assign the variable total on line 8!

meal = 44.50
tax = 0.0675
tip = 0.15

meal = meal + meal * tax

44.50+44.50*.0675
print("%.2f" % total)

I don't know what I'm doing wrong


#2

what are you doing on this line:

44.50+44.50*.0675

? i would use this line to create the total variable, which is the meal + 15% tip, you have all the variables needed to pull it off


#3

It says right here in the prescribed code:

so I did 44.50+44.50 * .15

Notice how it says meal "=" equals?? That's what I was doing


#4

no, there you calculated the tax, not the tip


#5

You've got to calculate the tax and then the tip.


#6