, 4, 5, 6]
>>> c = [5, 6, 7, 8, 9]
>>> list(set().union(a, b, c))
[1, 2, 3, 4, 5, 6, 7, 8, 9]
出现次数最多的...print ''.join(str(x) for x in p)
...
1234
1243
1324
1342
1423
1432
2134
2143
2314
2341
2413
2431
3124...3142
3214
3241
3412
3421
4123
4132
4213
4231
4312
4321
>>> for c in itertools.combinations([1, 2, 3