# ask the user for their first name first_name = input("What is your first name? ") # ask the user for their last name last_name = input("What is your last name? ") # compute a 45% discount on an order of $150.00 discount = 150 * 0.45 # display the cost of the order before the discount print ("Cost before discount:", 150.0) # display the discount rate and discount amount print ("Discount rate:", 0.45, "; Discount amount:", discount) # display the final cost of the order with the discount print ("Final cost with discount:", 150.0-discount)