結果 : pop last n elements from list python