python 列表删除所有指定元素的方法 如下所示:a=[1,1,1,2,3,45,1,2,1]a.remove(1)result:[1,1,2,3,45,1,2,1]while1ina:a.remove(1)result:[2,3,45,2]以上这 删除指定元素