Question: I need help with designing a Python Code App for a restaurant school project. I can't get the sales tax applied to the subtotal of

I need help with designing a Python Code App for a restaurant school project. I can't get the sales tax applied to the subtotal of the food item selected. Here is the code I currently have.
ask = input ("State your name.")
print (f"Hello {ask}")
order = input ("Welcome to Goode to Go Mexican Restaurant. Would you like to place an order? Y for yes N for no")
while order =="Y":
order2= int(input("What would you like to order? 1,2,3, etc."))
order1= order2+10
print ("Here are the menu options:")
print ("1.3 Carne Asada tacos plate for $11.99")
print ("2.3 Chicken tacos plate for $8.99")
print ("3.Al Pastor tacos plate for $9.99")
print ("4.Carne Asada burrito for $15.99")
print ("5.Chicken burrito for $13.99")
print ("6.Al Pastor burrito for $14.99")
print ("7.Fountain drink for $3.99")
print ("8.Jarritos soda drink for $4.50")
print ("9.Horchata $4.50")
print ("10.Extra condiments $1.00")
rem = order1%11
if (rem =="0"):
subtotal ="$11.99"
if (rem =="1"):
subtotal ="$8.99"
if (rem =="3"):
subtotal ="$9.99"
if (rem =="4"):
subtotal ="$15.99"
if (rem =="5"):
subtotal ="$13.99"
if (rem =="6"):
subtotal ="$14.99"
if (rem =="7"):
subtotal ="$3.99"
if (rem =="8"):
subtotal ="$4.50"
if (rem =="9"):
subtotal ="$4.50"
if (rem =="10"):
subtotal ="$1.00"
ask2= input ("Okay. Would you like to order more? Y for yes N for no")
if ask2=="N":
#sales tax
print("Thanks for ordering! The grand total is listed below.")
print(total)
quit()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!