I have 7 iterative parameters: list_1 to list_7 the below code is static and uses 7 for-loops but I have dynamic n iterative parameters and need to use n for-loop
for a in list_1:
for b in list_2:
for c in list_3:
for d in list_4:
for e in list_5:
for f in list_6:
for g in list_7:
print(a,b,c,d,e,f,g)
Is there any simple solution to solve this problem using pandas or python list or numpy Note: all list contains string values