menu =  {"burger": 3.99,
         "fries": 1.99,
         "drink": 0.99}
total = 0
ordering = True

#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?

while ordering == True:
    item = input("Please select an item from the menu or select 'done'")
    print(item)
    if item == "done": # checks if you are done with your order
        ordering = False
    elif item in menu: # checks if key exists in menu dictionary
        total += menu[item] # find any item from the dictionary and add its value to total
    else:
        print("input incorrect, please try again") # if you misspelled a word then you can re-enter the word

#code should add the price of the menu items selected by the user 
print("your total: $" + str(total))
Menu
burger  $3.99
fries  $1.99
drink  $0.99

input incorrect, please try again
burger
burger
fries
drink
done
your total: $10.96