摘要: ``` def add(): print('add') def sub(): print('sub') def exit(): print('exit') choice = { '1' : add, '2' : sub, '3' : exit} item = input('please input your number! ') if item in choice... 阅读全文
posted @ 2018-05-07 14:12 klvchen 阅读(661) 评论(0) 推荐(0) 编辑