#==============================================
# Set up the lists of food for the three courses
#==============================================
starters = ["Soup",
            "Salad",
            "Mushrooms",
            "Whitebait",
            "Bruschetta",
            "Avocado",
            "Prawns",
            "Olives",
            "Bread",
            "Doughballs"]

mains = ["Chicken",
         "Steak",
         "Pizza",
         "Risotto",
         "Pasta",
         "Salad",
         "Pie",
         "Casserole",
         "Pork",
         "Lasagne" ]

puddings = ["Fruit",
            "Ice Cream",
            "Sorbet",
            "Crumble",
            "Cheese",
            "Rice Pudding",
            "Tiramisu",
            "Trifle",
            "Cheesecake",
            "Apple Pie" ]

#==============================================
# Ask the user for their name, then return
# it. Only return if the name has a length
# greater than zero
#==============================================
def GetName():
    return "replace with the name they entered"

#==============================================
# Ask the user for their offset number. The number
# must not be a multiple of the 'notallowed' parameter
#==============================================
def GetOffset(notallowed):
    return 0 # replace with the number they chose
 

#==============================================
# Print all of the items in the 'things' parameter.
# Then ask the user to type in the item they hate the most.
# Check that what they type is EXACTLY the same as
# one of the items in 'things'. If it is, return it.
#==============================================
def GetHatedItem(things):
    
    return things[0] # replace this with what they chose
    

#==============================================
# Calculate which item to give them.
#
# Start by finding the position of their hated item
# in the list of 'things'.
#
# Then add the offset amount to that position.
#
# Then make sure that if the new position is
# off the end of the list, it wraps around.
#
# Return the thing which is in the new position
# in the list of 'things'.
#==============================================
def PickMenuChoice(things,offset,hated):
 return things[0] # replace this with what they chose

#==============================================
# The main part of the program starts here....

# store in a variable the name returned by the GetName function
name = GetName()

# store in a variable the offset returned
offset = GetOffset(10)

# store each of their three hated items
hatedStarter = GetHatedItem(starters)
hatedMains = "enter code..."
hatedPuddings = "enter code..."

# use the variables as parameters to the PickmenuChoice function
# and store the results
givenStarter = PickMenuChoice(starters, offset, hatedStarter)
givenMain =    "enter code..."
givenPudding = "enter code..."

# display their menu
print("Your starter is ", givenStarter)

