python 中關於刪除list中的某個元素,一般有三種方法:remove.pop.del: ... 5, 2, 6] 2.pop: 刪除單個或多個元素,按位刪除(根據索引刪除) >>> str=[0,1,2 ...
確定! 回上一頁