結果 : why is my replace function not working in python