收起
可以加一个外层循环,循环条件由input控制,比如
flag = True while flag != "退卡" ...... flag = input("输入退卡退出,输入任意字符继续操作")
报告相同问题?