結果 : replace letter in string by index python