Published
- 1 min read
find common elements in two lists python
The solution for this is noted below
find common elements in two lists python
Solution
list1 = [1,2,3,4,5,6]
list2 = [3, 5, 7, 9]
list(set(list1).intersection(list2))
Try other methods by searching on the site. That is if this doesn’t work