Greg Bacon
8
Q:

remove an element from a set

list1 = {1,2,3,4}
list1.remove(4)
print(list)
# {1,2,3}
5
list.remove(element)
11

New to Communities?

Join the community