Lab 1

In this lab I learned how to use Python as a calculator to determine the total cost of a meal including tax and tip.

 Code

1 meal=44.50

2 tax=0.0675

3 tip=0.15

4 meal=meal+meal*tax

5 total=meal+meal*tip

 

Lab 1 Python

Leave a Reply

Your email address will not be published. Required fields are marked *