a = ['a', 'b', 'c', 'd'] b = ['c', 'x', 'g', 'h'] c = ['1', 'as', 'ci', 'v'] d = ['1', '2', '3', '4'] print list(set().union(a, b, c, d))
Diff to Previous Revision
--- revision 1 2016-04-05 18:06:43 +++ revision 2 2016-04-05 18:11:49 @@ -3,4 +3,4 @@ c = ['1', 'as', 'ci', 'v'] d = ['1', '2', '3', '4'] -**print list(set().union(a, b, c, d))** +print list(set().union(a, b, c, d))