Question: steak = False pork = True guacamole = False queso = False #You may modify the lines of code above, but don't move them! #When

steak = False
pork = True
guacamole = False
queso = False
#You may modify the lines of code above, but don't move them!
#When you Submit your code, we'll change these lines to
#assign different values to the variables.
#
#Imagine you're writing code for a cash register at a
#restaurant. This restaurant serves burritoes. The base price
#of a burrito is $5. If the customer wants steak or pork, it
#adds $0.50. If they want quacamole, it adds $1.00. If they
#want queso, it adds $1.00. The customer may only select one
#meat, but they may have both queso and guacamole, neither,
#or just one.
#
#Write some code below that will print the cost of the
#burrito based on the variables above. You do not need to
#print the dollar sign or extra 0s. Remember, your final answer
#should only print out the price: comment out any debug
#statements once you have the right answer.

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!