結果 : replace nth element in list python