stringf repcae en python

txt = "hello bro"

x = txt.replace("hello", "bye")

print(x)
Real Rabbit