语法 pos = your_list.index(element) 语义 返回该元素在列表中第一次出现的位置,并且存到pos中 用例 获取启动DFS遍历图前还没有被访问过的节点 unvisited = visited_list.index(False)