python list index() index()函数用于从列表中找出某个位置第一个匹配项的索引位置。 list.index(x,start[,end]]) x--查找的对象 start--可选,查找的起始位置 end--可选,查找的结束位置