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