📅  最后修改于: 2022-03-11 14:46:14.249000             🧑  作者: Mango
代码示例3
all_combinations = [list(zip(each_permutation, list2)) for each_permutation in itertools.permutations(list1, len(list2))]