There are many ways to empty a list in Python some of the important ways I am mentioning here:-
The first method you can use is the del lst[:] method this method will remove the contents from the list, but it will not replace the old label with a new empty list.
An example that shows how to use the above del lst[:] method:-
lst1 = [1, 2, 3]
del lst1[:]
print(lst1)
The other way of doing this problem if you're running Python 3 is to use the clear() method:-
alist = [1, 2, 3]
alist.clear()
print(alist)