# shopping cart calculator # initialize our control variable c = "yes" # enter while loop while c == "yes": # ask user for price and perform calculations price = float(input("Enter an item price: ")) tax = .07 * price print("Tax on this item is",tax,"; total price is",price+tax) # ask user if they want to continue # update control variable c = input("Would you like to enter another value? Enter 'yes' or 'no': ")