运行 ❯
获取您的
自己的 Python
服务器
×
更改方向
更改主题,暗/亮
前往 Spaces
txt = "one one was a race horse, two two was one too." x = txt.replace("one", "three") print(x)
三个三个是一匹赛马,两个两个也是三个。