list -copy list-copy2. ∗ 刪除元素或串列:del. aList = [1, 2, 3, 4, 5, 6] del aList[1] # 刪除第1 個元素print(aList) del aList[1:3] # 刪除第1 到2 個 ...
確定! 回上一頁