Thank you for sharing the knowledge. I have a problem figuring out how to replace a value on a string.
for example
def replace(a, old, new):
a.replace(old, new)
return a
replace('xy naxe is Exxa', 'x', 'm')
when I run this it returns the original without any replacements.