DAY 26 of PYTHON top 100 questions : from Basic to Advanced !!
Write a Python program to find the common elements between three given lists:
list1 = [1, 2, 3, 4, 5]
list2 = [3, 4, 5, 6, 7]
list3 = [5, 6, 7, 8, 9]
set1 = set(list1)
set2 = set(list2)
set3 = set(list3)
common_elements = set1.intersection(set2, set3...
priyachakraborty.hashnode.dev1 min read