Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

remove str to set in python

#aremove value to set in python

set_A= {"Apple", "Orange", "coconut"}


set_A.add("pineapple")
set_A.remove("Apple")

for x in set_A:
    print(x)
 
PREVIOUS NEXT
Tagged: #remove #str #set #python
ADD COMMENT
Topic
Name
7+7 =