Python 的内置序列都支持index() 方法,它可以传入一个元素, ... substring not found # 列表 list('hello').index('l') # 2 [1, 2, 1, 2, ...
確定! 回上一頁