I am trying to repeat a for loop a number of times like that
for a in range(0, 100):
for b in range(0, 100):
for c in range(0, 100):
for d in range(0, 100):
...
print(a, b, c, ...)
but I don't now the number of 'for' loops, so I've written this code:
def inner_for(number, limit=10):
if number > 0:
for i in range(limit):
inner_for(number-1, limit)
The problem is that I don't know how to access the variables of all the 'for' loops