Lab 1

Lab description : This lab is the introduction to python and it has its examples for us to learn from and we learn about giving commands based on instruction.

Source code

# Assign the variable total on line 8!

meal = 44.50
tax = 0.0675
tip = 0.15

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

print(“%.2f” % total)

Screen Shot

max lab 1

Leave a Reply

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