Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

#finding the differences between setA and SetB:

#finding the differences between setA and SetB:

set_A= {"Apple", "Orange", "coconut"}
set_B= {"Green","Blue", "Yellow" , "Orange"}

set_C= set_A.difference(set_B)


for x in set_C:
    print(x )
 
PREVIOUS NEXT
Tagged: #differences #setA
ADD COMMENT
Topic
Name
3+3 =