📌  相关文章
📜  从列表中获取一个项目 python 代码示例

📅  最后修改于: 2022-03-11 14:46:28.551000             🧑  作者: Mango

代码示例2
# To return the index of the first occurence of element x in lst
ind = lst.index(x)