主页
Python
Python String rfind() 方法
demo_ref_string_rfind
运行 ❯
×
更改方向
保存代码
更改主题
txt = "Mi casa, su casa." x = txt.rfind("casa") print(x)
12