Python List 刪除內容 會重新 re-index

Python List 若將某一筆內容(Value)刪掉,那索引(Index)會自動重新計算,若使用 for + range() 再去 del,會造成一些錯誤。

閱讀全文〈Python List 刪除內容 會重新 re-index〉