Lab 1

Lab Description:

This lab is an introduction tutorial to the Python programming language. It showed me how to assign values to variables and data types like integers, floats and booleans then is put to the test in the making of a tip calculator.

Code:

meal = 44.50
tax = 0.0675
tip = 0.15

meal = meal + meal * tax
total = meal + meal * tip

print(“%.2f” % total)Lab 1 py

Leave a Reply

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