DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python list INTERSECTION
a = ['apple', 'banana', 'pear'] b = ['fridge', 'stove', 'banana'] a & b == ['banana'] #True
PREVIOUS
NEXT
Tagged:
#python
#list
#INTERSECTION
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit