Run ❯
Get your
own Python
server
Result Size:
625 x 565
×
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") print(x)
x
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."