信息管理系统python代码实现
persons = []
def sw():
print('1. create person')
print('2. list all persons')
print('3. query person')
print('4. delete person')
print('5. quit')
choice = input('enter a number(1-5):')
return choice
def ct():
# create person
name = input('name:')
addr = input('address:')
phone = input('phone:')
person = {
'name': name, '