python 返回元素在list中的index

list.index(element)

posted @ 2022-03-20 21:35  bH1pJ  阅读(29)  评论(0)    收藏  举报