Write a Python function to find the union of two arrays


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

Solution

def array_union(A,B):
	union=list(set(A)|set(B))
	return union



List all Python Programs