結果 : how to replace a substring in a string in python