Do me a favor, take a few seconds to have a look at my last project.

Thank you, Lulu

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 : 04/13/2019