remove an element from a list by index,a.pop()