Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to clear out a set in python

mySet = {1, 2, 3}
mySet.clear()
print(mySet)

# Output:
# set()
Source by liu-111.medium.com #
 
PREVIOUS NEXT
Tagged: #How #clear #set #python
ADD COMMENT
Topic
Name
7+8 =