# Calculate and display the total owed # assuming 9% tax and 15% tip subtotal = 38 + 40 + 30 tax = subtotal * .09 tip = subtotal * .15 total = subtotal + tax + tip print "Subtotal: " + str(subtotal) print "Tax: " + str(tax) print "Tip: " + str(tip) print "Total: " + str(total)