結果 : python replace substring by index