So…I know im probably being reaaaaly dumb.
but im coming up with a
“NameError: name ‘customer_one_tax’ is not defined”
with this code and even after the video walk through i’m still confused on what im doing wrong with defining this varible >.<
Here’s the section of code this is associated with and the error is on line 1 with the customer_one_total
customer_one_total = lovely_loveseat_price + Luxurious_lamp_price + customer_one_tax customer_one_itemization += lovely_loveseat_description + Luxurious_lamp_description customer_one_tax = customer_one_total * sales_tax print("Customer one Items") print(customer_one_itemization) print("Customer one Total") print(customer_one_total)
And here’s the error message that pops up in the console
Traceback (most recent call last):
File “script.py”, line 19, in
customer_one_total = lovely_loveseat_price + Luxurious_lamp_price + customer_one_tax
NameError: name ‘customer_one_tax’ is not defined
And im completely confused .-. any help would be greatly appreciated !
(I feel like I didnt make this topic the right way for some reason)