🌈 搜索
📅  最后修改于: 2022-03-11 14:47:11.654000             🧑  作者: Mango
lst = ['i1', 'i2', 'i3'] lst.clear() #clears the contents of list #lst[:] can also be used #fastest is lst *= 0