Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove element form set in python

list1 = {1,2,3,4}
list1.remove(4)
print(list)
# {1,2,3}
 
PREVIOUS NEXT
Tagged: #remove #element #form #set #python
ADD COMMENT
Topic
Name
2+4 =