Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

#adding new str to set in python

#adding new str to set in python

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


set_A.add("pineapple")

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