How do I generate permutations of length LEN given a list of N Items? December 21, 2023 by Tarik itertools.permutations(my_list, 3)