>>536

import itertools
seq=('a', 'b', 'c', 'd', 'e','f')
l=list(itertools.permutations(seq, 3))

import random
print(random.sample(l, 3))