Delete lists in Python

Delete lists

>>> myList=[1,2,3]
>>> del myList
>>> myList
Traceback (most recent call last):
  File "", line 1, in 
NameError: name 'myList' is not defined

See also


Last update : 06/11/2018