Run »
txt = "one one was a race horse, two two was one too." x = txt.replace("one", "three") print(x)
three three was a race horse, two two was three too."