名片管理系统v1.1(main)

时间:2023-03-08 16:59:02
名片管理系统v1.1(main)

# version: 1.1
# author: Mark

import cords_tools

while True:

# 显示界面
    cords_tools.show_cords()

cords_input = input("请选择操作功能: ")

#  1,2,3功能函数
    if cords_input in ("1","2","3"):  # 只能在1,2,3,中选择
        if cords_input == "1":
            cords_tools.new_cords()
        elif cords_input == "2":
            cords_tools.show_all()
        elif cords_input == "3":
            cords_tools.refer_cords()
    elif cords_input not in ("0","1","2","3"):
        print("请在1/2/3中做选择")

#  0 退出系统
    if cords_input == "0":

print("欢迎使用【名片管理系统】v1.1")

break