How do I generate permutations of length LEN given a list of N Items?

itertools.permutations(my_list, 3)

Leave a Comment