remove the last n elements of a list,del list[-n:]