📜  python删除前两个索引 - Python代码示例

📅  最后修改于: 2022-03-11 14:45:21.884000             🧑  作者: Mango

代码示例1
l = [1, 2, 3, 4, 5]
del l[:3] # Here 3 specifies the number of items to be deleted.