Question: find 5 bugs or errors in the code #Debugging Loops #3/3/23 #Jackson Decker #calculate how much each hotdog topping will cost when added up together
\#Debugging Loops \#3/3/23 \#Jackson Decker \#calculate how much each hotdog topping will cost when added up together \#Variables Price = float() Toppings = str( Continue = str() \#create loop for Continue != 'Q': Toppings = input("Enter Toppings: ") if Toppings == "Chili": Price =1.50 elif Toppings = "Bacon" Price =2.50 elif Toppings == "Grilled Onions": Price =3.50 Pre: Price =0.00 Price = Price +5.00 pring(Price) Continue = input("Continue: ")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
