python系列:从列表中删除元素 一、remove根据元素值删除二、pop根据索引值删除三、del根据索引值删除元素 一、remove根据元素值删除 list.remove("opticsprod") 二、pop根据索引值删除 list.pop(3) 三、del根据索引值删除元素 删除单个元素 del list[index] 删除一段连续的元素 del list[start:end]