結果 : replace string by index python