Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
TypeScript
how to check element of 2 large lists python
user15525
Programming language:
TypeScript
2021-05-12 08:17:37
0
Q:
how to check element of 2 large lists python
Dmitrii Bundin
Code:
TypeScript
2021-09-23 19:34:57
>>> list1 = [1,2,3,4,5,6] >>> list2 = [3, 5, 7, 9] >>> list(set(list1).intersection(list2)) [3, 5]
0
Tags
python
list
element
check
how
Related
how to compare two lists element by element in python and return matched element
split list into lists of equal length python
New to Communities?
Join the community