# Lovely love seat different total than answer?

#1

So for some reason my math ends up different than the answers but for the life of me I do not see what
I have done wrong.

Lovely love seat project lesson

lovely_loveseat_description = “Lovely loveseat. Turfed polyester blend on wood. 32 inches high x 40 inches wide x 30 inches deep. red or white.”

lovely_loveseat_price = 254.00

stylish_settee_description = “Stylish settee. Fuax leather on birch. 29.50 inches high x 54.75 inches wide x 28 inches deep. Black.”

stylish_settee_price = 180.50

luxurious_lamp_description = “Luxurious Lamp. Glass and iron. 36 inches tall Brown with cream shade.”

luxurious_lamp_price = 52.12

sales_tax = 0.088

#cusotmer one receipt
customer_one_total = 0
customer_one_itemization = “”

customer_one_total += lovely_loveseat_price
customer_one_itemization += lovely_loveseat_description

customer_one_total += luxurious_lamp_price
customer_one_itemization += luxurious_lamp_description

customer_one_tax = customer_one_total * sales_tax
customer_one_total += customer_one_tax

print (“Customer One Items”)
print (customer_one_itemization)
print (“Customer One Total:”)
print (customer_one_total)

#customer 2 receipt “i before e oh wait… lol”
customer_two_total = 0
customer_two_itemization = “”

customer_two_total += stylish_settee_price
customer_two_itemization += stylish_settee_description

customer_two_total += luxurious_lamp_price
customer_two_itemization += luxurious_lamp_description

customer_two_tax = customer_two_total * sales_tax
customer_two_total += customer_two_tax

print(“Customer Two Items:”)
print(customer_two_itemization)
print(“Customer Two Total:”)
print(customer_two_total)

output:

Customer One Items
Lovely loveseat. Turfed polyester blend on wood. 32 inches high x 40 inches wide x 30 inches deep. red or white.Luxurious Lamp. Glass and iron. 36 inches tall Brown with cream shade.
Customer One Total:
333.05856
Customer Two Items:
Stylish settee. Fuax leather on birch. 29.50 inches high x 54.75 inches wide x 28 inches deep. Black.Luxurious Lamp. Glass and iron. 36 inches tall Brown with cream shade.
Customer Two Total:
253.09056

#2

Check that price, for starters.

You can use the round() function on currency.

"\nCustomer One Total: " + str(round(customer_one_total, 2)))

Combined into a single print statement,

print ("Customer Two Items\n{}\nCustomer Two Total: {}\
".format(customer_two_itemization, round(customer_two_total, 2)))

'''
Customer Two Items
Stylish Settee.
Faux leather on birch. 29.50 inches high x 54.75 inches wide x 28 inches deep. Black.
Luxurious Lamp.
Glass and iron. 36 inches tall. Brown with cream shade.
Customer Two Total: 253.12
'''