DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
find number of common element in two python array
len([x for x in list1 if x in list2])
PREVIOUS
NEXT
Tagged:
#find
#number
#common
#element
#python
#array
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit