主页
Python
Python String index() 方法
demo_ref_string_index3
运行 ❯
×
更改方向
保存代码
更改主题
txt = "Hello, welcome to my world." x = txt.index("e", 5, 10) print(x)
8