修正和评论,它们主要是语法错误。menulist= '''1. Print the list,
2. Add a name to the list,
3. Remove a name from the list,
4. Change an item in the list,
9. Quit''' #assuming you want to display menulist, having it as a tuple is useless
lst=("johny","tom","kim","tim","jim") #don't use reserved names for variables, may mess up things
target=raw_input("Pick an item from the menu:")
if target=="1": #this is an equality operator, whereas = is used to assign a variable (This checks the equality basically)
print lst
elif target=="2":
Addname=raw_input("Type in a name to add:")
list=list.append(Addname) #use append instead of insert, insert is for a specific position in list
print menulist #no parentheses, menulist is not a