def zhu_ye_mian(): while True: j = input('\n(输入h以查看帮助)请输入:') if j == '0': exit_2(zhu_ye_mian) elif j == '1': xuan_ze() elif j == '2': toss() elif j == '3': cai_shu_zi() elif j == '4': er_yuan(zhu_ye_mian) elif j == '5': po_yi(zhu_ye_mian) elif j == '6': cheng_fa(zhu_ye_mian) elif j == "7": control() elif j == "8": kai_shi() elif j == '9': new(zhu_ye_mian) # elif j == '10': print( 'a24{}\nb{}\nc3c3{}\na4{}\nz{}\nf1{}\nz_m{}\nal3{}\nm{}\nn{}\nq{}'.format(a21, b, # c3c3, a4, z, f1, z_m, al3, m, n, q)) elif j == "h": help2(zhu_ye_mian) else: print(' \n无效选择!')
def zhu_ye_mian(): while True: j = str(input('\n(输入h以查看帮助)请输入:')) if j == '0': exit_2(zhu_ye_mian) elif j == '1': xuan_ze() elif j == '2': toss() elif j == '3': cai_shu_zi() elif j == '4': er_yuan(zhu_ye_mian) elif j == '5': po_yi(zhu_ye_mian) elif j == '6': cheng_fa(zhu_ye_mian) elif j == "7": mi_ma() elif j == "8": kai_shi() elif j == '9': new(zhu_ye_mian) elif j == "h": help2(zhu_ye_mian) else: print(' \n无效选择!')
def kai_shi(): """ :return:system106 """ # print(b, 'b\n', e, 'e\n', a4, 'a4\n', a24, 'a24\n', l, 'l\n', f1, 'f1\n', c3c3, 'c3c3\n', ao3, 'ao3\n', d, 'd\n') qqq = input('=====================\n' '= system 1.0.6 =\n' '= =\n' '= 输 入 1 进 入 =\n' '= 输 入 2 退 出 =\n' '= 输 入 3 返 回 =\n' '= 开 始 界 面 =\n' '======================\n' '请 输 入:') if qqq == '1': xuan_ze() elif qqq == '2': exit_2(kai_shi) elif qqq == '3': print('\n已返回!\n') start.start() else: print('\n无效选择!') kai_shi()
def zhu_ye_mian(): while True: j = input('\n(输入h以查看帮助)请输入:') if j == '0': exit_2(zhu_ye_mian) elif j == '1': xuan_ze() elif j == '2': toss() elif j == '3': cai_shu_zi() elif j == '4': er_yuan(zhu_ye_mian) elif j == '5': po_yi(zhu_ye_mian) elif j == '6': cheng_fa(zhu_ye_mian) elif j == "7": control() elif j == "8": kai_shi() elif j == '9': new(zhu_ye_mian) # elif j == '10': # print( # '\na24{}\nb{}\nc3c3{}\nz{}\nz_m{}\nal3{}\ns56{}'.format(a21, b, c3c3, z, z_m, al3, variables.s56)) elif j == "h": help2(zhu_ye_mian) else: print(' \n无效选择!')
def start_1(): """ :return:system110 """ # print(b, 'b\n', e, 'e\n', a4, 'a4\n', a24, 'a24\n', l, 'l\n', f1, 'f1\n', c3c3, 'c3c3\n', ao3, 'ao3\n', d, 'd\n') qqq = input('=====================\n' '= system 1.1.0 =\n' '= =\n' '= 输 入 1 进 入 =\n' '= 输 入 2 退 出 =\n' '= 输 入 3 返 回 =\n' '= 开 始 界 面 =\n' '======================\n' '请 输 入:') if qqq == '1': choose() elif qqq == '2': exit_2(start_1) elif qqq == '3': print('\n已返回!\n') start.start() else: print('\n无效选择!') start_1()
def choose(): global z_m print('\n欢迎进入登录系统!') print( '\n---按0退出程序---\n\n----按1登录----\n\n----按2注册----\n\n----按3改密----\n\n---按4游客登录---\n\n---按5返回开始---' ) i3 = input(' \n请输入:') if i3 == '0': exit_2(choose) elif i3 == '1': log_in() elif i3 == '2': register() elif i3 == '3': fix_2() # 改密 elif i3 == '4': print('\n***************游客模式***************') n_z.clear() n_z.append(' visitor ') main_page() elif i3 == '5': start_1() else: print(' \n无效选择!') choose()
def kai_shi(): """ :return: system 1.0.4 """ # print(b, 'b\n', e, 'e\n', a4, 'a4\n', a24, 'a24\n', l, 'l\n', f1, 'f1\n', c3c3, 'c3c3\n', ao3, 'ao3\n', d, 'd\n') qqq = str( input( '\n----system 1.0.4----\n\n --按1进入--\n\n --按2退出--\n\n----按3返回开始界面----\n\n请输入:' )) if qqq == '1': xuan_ze() elif qqq == '2': exit_2(kai_shi) elif qqq == '3': print('\n已返回!\n') start.start() else: print('\n无效选择!') kai_shi()
def xuan_ze(): global z_m, q0q0 print('\n欢迎进入登录系统!') print( '\n---按0退出程序---\n\n----按1登录----\n\n----按2注册----\n\n----按3改密----\n\n---按4游客登录---' ) i3 = str(input(' \n请输入:')) if i3 == '0': exit_2(xuan_ze) elif i3 == '1': deng_lu_2() elif i3 == '2': zhu_ce_2() elif i3 == '3': xiu_gai_2() # 改密2 elif i3 == '4': print('\n***************游客模式***************') q0q0 = False zhu_ye_mian() else: print(' \n无效选择!') xuan_ze()
def main_page(): if n_z[0] not in z: print('\n您登录的账号不存在!') log_in() while True: j = input('\n当前你正在使用账号:{}\n\n(输入h以查看帮助)请输入:'.format(n_z[0])) if j == '0': exit_2(main_page) elif j == '1': n_z.clear() choose() elif j == '2': all_mod.toss() elif j == '3': all_mod.cai_shu_zi() elif j == '4': all_mod.er_yuan(main_page) elif j == '5': all_mod.po_yi(main_page) elif j == '6': all_mod.cheng_fa(main_page) elif j == "7": control() elif j == "8": n_z.clear() start_1() elif j == '9': new.new(main_page) elif j == '10': print(globals()) elif j == 'c': variables.n_s.append(110) index.chatroom_helper() elif j == "h": all_mod.help2(main_page) else: print(' \n无效选择!')