Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add element in set python

thisset = {"apple", "banana", "cherry"}

thisset.add("orange")

print(thisset)
 
PREVIOUS NEXT
Tagged: #add #element #set #python
ADD COMMENT
Topic
Name
1+9 =