Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

intersect index in python

#finding the similarity among two sets

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

set_C= set_A.intersection(set_B)


for x in set_C:
    print(x )
 
PREVIOUS NEXT
Tagged: #intersect #index #python
ADD COMMENT
Topic
Name
1+9 =