I want to have a program like the one below:
a = xy
b = a.replace("x", "y")
c = b.replace("y", "x")
print(c)
And I want the output to be "yx" but because the program is running the same string again the output is looking like "xx".
I hope you're getting my point.