Answers for "how to check for common values in 2 lists in python"

2

find number of common element in two python array

len([x for x in list1 if x in list2])
Posted by: Guest on October-21-2020

Code answers related to "how to check for common values in 2 lists in python"

Python Answers by Framework

Browse Popular Code Answers by Language