Set Theory Operations Union Only
Python2 - 21 (or 15) (or 1)



Sets should be in the format set([element1, element2, element3...])

print input()|input()


If running from the interactive prompt is allowed, remove the print.

Note: If the Mathematica answer qualifies as being 1 character, then in the Python interactive prompt this should also qualify as 1 character:

set(['a','b','d','z'])|set(['c','z','d','a','k','a'])


Sample input:

set(['a','b','d','z'])
set(['c','z','d','a','k','a'])


Sample output:

set(['a', 'c', 'b', 'd', 'k', 'z'])