📜  python 数组获取索引 - Python 代码示例

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

代码示例2
a_list = [1, 2, 3]

position_of_three = a_list.index(3)

print(position_of_three)