結果 : string replace with index python