0
Q:

del list python

mylist = [1, 2, 3, 4]
mylist.clear()

print(mylist)
# []
5
list.remove(element)
11

New to Communities?

Join the community