list = []
while True:
meus = ("1.查看","2.添加","3.删除","0.退出")
print(meus)
inputs = input("请选择:")
if inputs == "1":
print(list)
print("---")
elif inputs == "2":
inputs = input("添加:")
list.append(inputs)
elif inputs == "3":
print(list)
print("--------")
inputs = input("删除")
list.remove(inputs)
elif inputs == "0":
break
print(list)