Description:
In this lab i learned how to set values in a script by using python. Doing this was a very simple task.
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)
Screenshot: