I have a list of tuples, each containing a find/replace value that I would like to apply to a string. What would be the most efficient way to do so? I will be applying this
s = reduce(lambda x, repl: str.replace(x, *repl), lst, s)