python 获取list特定元素值对应的下标

a=[72, 56, 76, 84, 80, 88]
print(a.index(76))

ref
https://blog.csdn.net/qq_24737639/article/details/78839678

猜你喜欢

转载自blog.csdn.net/qq_35608277/article/details/86557173
今日推荐