# ask for price of 5 items and convert to float item1 = float(input("How much does item 1 cost? ")) item2 = float(input("How much does item 2 cost? ")) item3 = float(input("How much does item 3 cost? ")) item4 = float(input("How much does item 4 cost? ")) item5 = float(input("How much does item 5 cost? ")) # get subtotal cost sub = item1 + item2 + item3 + item4 + item5 # calculate sales tax tax = .06 * sub # get total with tax total = sub + tax # report to user print("The subototal is",sub) print("The sales tax is",tax) print("The grand total is",total)