主页
Python
Python List index() 方法
demo_ref_list_index2
运行 ❯
×
更改方向
保存代码
更改主题
fruits = [4, 55, 64, 32, 16, 32] x = fruits.index(32) print(x)
3