📜  返回列表中ele的位置python代码示例

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

代码示例1
#Returns the index number of the element/value in a list
x = ['a','b','c']
x.index('b')