Write a Python function to find the intersection of two arrays


Topic: Write a Python function to find the intersection of two arrays

Solution

def array_intersection(A,B):
	inter=list(set(A)&set(B))
	return inter



List all Python Programs