結果 : replace index list python