Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
txt = "one one was a race horse, two two was one too." x = txt.replace("one", "three", 2) print(x)
three three was a race horse, two two was one too."