Write a lambda function to find the intersection of two lists
Topic: Write a lambda function to find the intersection of two lists
Solution
intersection = lambda a, b: list(set(a)&set(b))
List all Python Programs
Solution
intersection = lambda a, b: list(set(a)&set(b))