Lab 1 Python

Description:

For this lab, I had to accustom myself to Python through the use of Codeacedmy.com. The site allowed me to get a understanding of what Python is and what I can do with it.

 

 

Code:

This is the sample code.

meal = 44.50
tax = 0.0675
tip = 0.15
meal = meal + meal * tax
total = meal + meal* tip
print("%.2f" % total)

Screenshot:

This is the screenshot of the sample code.

Screen Shot 2013-10-16 at 10.25.55 PM

 

Leave a Reply

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