Does python support dynamic argument passing when I call a function?
import itertools.product
l = [1,2,3,95,5]
for i in range(5):
for n in itertools.product(l,l):
#calculations that
#reduce set size
I want through the iterations of i the product to be:
i=1: product(l,l)
i=2: product(l,l,l)
i=3: product(l,l,l,l)
...
If I can recall correctly the only language I know that supports that kind of functionality is PHP.