This is not right


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


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)


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