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
Our goal is to make the OpenLab accessible for all users.
Our goal is to make the OpenLab accessible for all users.