i have a list of numbers. I want to add each value to all other possible combinations pythonand values. code example
Example: how to get all possible combinations in python
all_combinations = [list(zip(each_permutation, list2)) for each_permutation in itertools.permutations(list1, len(list2))]