DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How To Remove Elements From a Set using remove() function in python
mySet = {1, 2, 3} mySet.remove(1) print(mySet) # Output: # {2, 3}
Source by liu-111.medium.com #
PREVIOUS
NEXT
Tagged:
#How
#To
#Remove
#Elements
#From
#Set
#function
#python
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit