Answers for "how to print common elements of list py"

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 print common elements of list py"

Python Answers by Framework

Browse Popular Code Answers by Language