How to get all possible combinations of three lists
How to get all possible combinations of three lists Question: I have three lists: list_a=[1,2] list_b=[3,4] list_c=[5,6] Now i’m looking for a solution in python by using a loop where a new list iterates through all possible combinations of these three lists (the order is not important): new_list = list_a # -> [1,2] new_list = …