結果 : how to replace string with index in python