結果 : python remove last n elements from array