from textwrap import dedent
menu_list = {'Wings', 'Cookies', 'Spring Rolls', 'Salmon', 'Steak', 'Meat Tornado', 'A Literal Garden', 'Ice Cream', 'Cake', 'Pie', 'Coffee', 'Tea', 'Unicorn Tears'}

def welcome_cafe():
  print("*"*38)
  print(dedent(""" 
  **    Welcome to the Snakes Cafe!   **
  **    Please see our menu below.    **
  **
  ** To quit at any time, type "quit" **
  """))
  print("*"*38)
  print("\n")

def show_menu():
    # need to print the key, then dashed line and then the values
    menu= """
    Appetizers
    ----------
    Wings
    Cookies
    Spring Rolls

    Entrees
    -------
    Salmon
    Steak
    Meat Tornado
    A Literal Garden

    Desserts
    --------
    Ice Cream
    Cake
    Pie

    Drinks
    ------
    Coffee
    Tea
    Unicorn Tears
    """
    print(dedent(menu))
    print("\n")


def prompt():
    print("*"*35)
    print(dedent("""
    ** What would you like to order? **
    """))
    print("*"*35)

def order_meal():
    pass
    # create the dictionary with the item and the order beginning at 0
    value = 0
    items = dict.fromkeys(menu_list,value)
    #now take the order and then verify if it exists inthe menu_list
    prompt()
    while True:
        order = input()
        if order == "quit":
            break
        if order in items:
            items[order] += 1

        print(f"* {items[order]} order of {order} have been added to your meal *")

if __name__ == "__main__":
    welcome_cafe()
    show_menu()
    order_meal()


