結果 : how to replace nth character in python