The calculator code in a different way


#1


https://www.codecademy.com/courses/python-beginner-GB6hM/0/5

Can i calculate the total bill by using code which i used below.Please answer me.I am really confused with the method instructed

Replace this line with your code. 

meal=44.50
tax=meal*6.75/100
tip=meal*15/100
total=meal+tax+tip
print total


#2

If you want to get the expected result, then use the method in the instructions. It may not be what you think it should be, but no matter.


#3

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