結果 : replace string with index python