Fixing Code Challenge
menu = {"burger": 3.99,
"fries": 1.99,
"drink": 0.99}
total = 0
#shows the user the menu and prompts them to select an item
print("Menu")
for k,v in menu.items():
print(k + " $" + str(v)) #why does v have "str" in front of it?
#ideally the code should prompt the user multiple times
burger = input("Do you want a burger?")
if burger == "yes":
total += 3.99
else:
total += 0
fries = input("Do you want fries?")
if fries == "yes":
total += 1.99
else:
total += 0
drink = input("Do you want a drink?")
if drink == "yes":
total += 1.99
else:
total += 0
#code should add the price of the menu items selected by the user
print(total)