結果 : python array remove last n elements