Re: [Tutor] combinatorics problem: assembling array

2010-01-21 Thread Kent Johnson
On Thu, Jan 21, 2010 at 8:07 AM, Kent Johnson wrote: > On Thu, Jan 21, 2010 at 4:06 AM, markus kossner wrote: >> Dear Pythonics, >> I have a rather algorithmic problem that obviously made a knot in my brain: >> >> Assume we have to build up all the arrays that are possible if we have a >> nested

Re: [Tutor] combinatorics problem: assembling array

2010-01-21 Thread spir
On Thu, 21 Jan 2010 10:06:40 +0100 markus kossner wrote: > Dear Pythonics, > I have a rather algorithmic problem that obviously made a knot in my brain: > > Assume we have to build up all the arrays that are possible if we have a > nested array > containing an array of integers that are allowed

Re: [Tutor] combinatorics problem: assembling array

2010-01-21 Thread Kent Johnson
On Thu, Jan 21, 2010 at 4:06 AM, markus kossner wrote: > Dear Pythonics, > I have a rather algorithmic problem that obviously made a knot in my brain: > > Assume we have to build up all the arrays that are possible if we have a > nested array > containing an array of integers that are allowed for

[Tutor] combinatorics problem: assembling array

2010-01-21 Thread markus kossner
Dear Pythonics, I have a rather algorithmic problem that obviously made a knot in my brain: Assume we have to build up all the arrays that are possible if we have a nested array containing an array of integers that are allowed for each single position. For example the nested array ( (1,2,3,89)