📅  最后修改于: 2022-03-11 14:47:24.344000             🧑  作者: Mango
代码示例1
a = [-1, 1, 66.25, 333, 333, 1234.5]
del a[0]
a
[1, 66.25, 333, 333, 1234.5]
del a[2:4]
a
[1, 66.25, 1234.5]
del a[:]
a
[]