I have n unique lists of equal length each containing some numerical values.
I have a list of n for
loops that are looping over all possible combinations of values in order to do something.
for x1 in lst1:
for x2 in lst2:
for x3 in lst3:
...
...
...
for xn in lstn:
#do something
How can I simplify this process by creating a efficient function in python?