This is not right


#1


5.The Total

This is not working because i keep getting back None but it says it is correct


# Assign the variable total on line 8!

meal = 44.50
tax = 0.0675
tip = 0.15


total = meal+meal*tip


#2

Hi @mrpon,

You are missing this line from the previous exercise ...

meal = meal + meal * tax

The None in the output is not a problem. However, if you want to see the result, you can add this to the end of your code ...

print("%.2f" % total)

#3

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