0
Q:

how to check element of 2 large lists python

>>> list1 = [1,2,3,4,5,6]
>>> list2 = [3, 5, 7, 9]
>>> list(set(list1).intersection(list2))
[3, 5]
0

New to Communities?

Join the community