没有合适的资源?快使用搜索试试~ 我知道了~
db={} def manage_list(): prompt=""" (D)elete user (P)rint all user (Q)uit Enter choice:""" done=False while not done: chosen=False while not chosen: try: choice=raw_input(prompt).strip()[0].lower() except (EOFError,KeyboardInterrupt): choice='q' print'\nYou picked:[%s]'%choice if choice not in 'dpq': print'invalid option,try again' else: chosen=True if choice=='q':done=True if choice=='d':delete_user() if choice=='p':print_user() def delete_user(): i=0 user_list=[] for each_user in db.keys(): u
资源推荐
资源评论
资源评论
是空空呀
- 粉丝: 168
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功