def main_list(): msg = [" ATM ", "购物商城", "管理系统", "退出程序 输入 q", ] index = 0 for i in msg: print("\t\t\t\t", index + 1, "\t ", i) index += 1
'''ATM页面列表''' def atm_list(): msg = ["信用卡信息", "信用卡取现", "信用卡转账", "信用卡还款", "申请信用卡", "信用卡绑定", "信用卡流水", "返回上一层 输入 q", "退出程序 输入 exit"] index = 0 for i in msg: print("\t\t\t\t", index + 1, "\t ", i) index += 1