摘要:
1 db = {} # 全部地区 2 path = [] # 当前查看的路径["长沙","芙蓉区"] 3 while True: 4 temp = db 5 for item in path: 6 temp = temp[item] 7 print("可以选地区:", list(temp.keys())) 8 # 用户输入命令... 阅读全文
摘要:
1、整型 int 2、字符串 str 3、列表 list 4、元组 tuple 5、字典 dict 6、布尔 bool 阅读全文