Write a Python Program to Find the Intersection of Two Lists
Topic: Write a Python Program to Find the Intersection of Two Lists
Solution
def main(alist, blist): def intersection(a, b): return list(set(a) & set(b)) return intersection(alist, blist)
List all Python Programs