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 fHello 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:
order intinputWhat would you like to order? etc."
order order
print Here are the menu options:"
print Carne Asada tacos plate for $
print Chicken tacos plate for $
print Al Pastor tacos plate for $
print Carne Asada burrito for $
print Chicken burrito for $
print Al Pastor burrito for $
print Fountain drink for $
print Jarritos soda drink for $
print Horchata $
print Extra condiments $
rem order
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
if rem :
subtotal $
ask input Okay Would you like to order more? Y for yes N for no
if askN:
#sales tax
printThanks for ordering! The grand total is listed below."
printtotal
quit
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
