Stringf Replcae in Python

txt = "hello bro"

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

print(x)
Real Rabbit