del
names = ['香蕉', '水果', '苹果', '香蕉']
del names
print(names)
返回结果
NameError: name 'names' is not defined
names = ['香蕉', '水果', '苹果', '香蕉']
del names
print(names)
返回结果
NameError: name 'names' is not defined