remove an element from a list by index,del a[index]