摘要: db = {} path = [] while True: temp = db for item in path: temp = temp[item] print('当前节点的所有可选子节点:',list(temp.keys()),'\n') choice = input("1:添加节点;2:查看节点(Q退出/B返回上一级) \n>>>") if choice == "1": k = input( 阅读全文
posted @ 2019-10-11 23:51 千焱 阅读(178) 评论(0) 推荐(0)