X and Y are sequences. Construct a sequence Z which contains each element from X and Y, but only once each.
d = {} for i in X + Y: d[i] = 1 Z = d.keys()