You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
total_cost = 0.0
while True:
try:
item = input("Item: ").title()
if item in menu:
total_cost += menu[item]
print(f"Total: ${total_cost:.2f}")
except EOFError:
print() # Print a new line for better formatting
break
if name == "main":
main()
The text was updated successfully, but these errors were encountered:
taqueria
correct
def main():
menu = {
"Baja Taco": 4.25,
"Burrito": 7.50,
"Bowl": 8.50,
"Nachos": 11.00,
"Quesadilla": 8.50,
"Super Burrito": 8.50,
"Super Quesadilla": 9.50,
"Taco": 3.00,
"Tortilla Salad": 8.00
}
if name == "main":
main()
The text was updated successfully, but these errors were encountered: