# Write a program to find intersection

## Topic: Write a program to find intersection

Solution

a = {1, 2, 3, 4} b = {3, 4, 5, 6} intersection_both = a.intersection(b) print("Intersection", intersection_both)

List all Python Programs

Solution

a = {1, 2, 3, 4} b = {3, 4, 5, 6} intersection_both = a.intersection(b) print("Intersection", intersection_both)

List all Python Programs