报错信息显示这个 'dict_keys' object is not subscriptable调了好久还是报错需要怎么改啊
收起
强制转换成列表,然后取索引,即list(myTree.keys())[0]
报告相同问题?