Pass Variable Into String Python Replace Substrings