Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi, i made the suggested correction on the code but still do not get it right 22 HYour code should calculate the price as fo1lows:
Hi, i made the suggested correction on the code but still do not get it right
22 HYour code should calculate the price as fo1lows: - The base price for a quesadilla is 4.00, for nachos is 4. 50 , and for burritoes is 5.00. [Executed at: Tue Feb 28 ie:2 - If meat is steak or pork, add 9.50. Any other meat adds 4:58 P5T 2023] no money to the price. Buacamole always adds 1,00 to the price. We found a few things wrond wi queso adds 1.00 to the price UNLEss the item is nachos, th your code. The fiest ane is in which case it adds nothing. shown below, and the rest call - double.meat adds 1.58 if the meat is steak on pork, or be found in full resules.trt 1 1. 00 athermise. a the dropdomn in the top lef base price =4.5 t: if itea mn "quesadilla": base price =4.0 elif item = "buritto"; We tested your code with Itra base_price =5.9 " "bureito", meat = "chicken". if meat m" "steak"or meat = "pork": queso - False, quacanole - Fal base price +=0.5 se, double_neat - False, We os 40 e.lif meat = "chicken" or "tofu" or "beef" 4 pected your code to print thi 42 if meat nm= " steak" and double_meat: Lase price +=1.50 44 edif meat =n "pork" and double_meat: base price t=1.50 46 elif double meat: 47 exif doubie meat: 48 if guacamole: base price +=1.0 s0. if item To "nachos" and queso: base price t 1.0 print (baseprice) Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started