python 中如何获取列表的索引 1.index方法list_a=[12,213,22,2,32]forainlist_a:print(list_a.index(a))结果:01234如果列表的没有重复的话那 列表索引