Re: [Tutor] for loop results into list

2010-09-05 Thread Micheal Beatty
On 09/05/2010 03:48 PM, Evert Rol wrote: On 5 Sep 2010, at 22:31 , Micheal Beatty wrote: On 09/05/2010 03:16 PM, Evert Rol wrote: I'm having a little problem figuring out how to accomplish this simple task. I'd like to take a list of 6 numbers and add every permutation of those numbers in g

Re: [Tutor] for loop results into list

2010-09-05 Thread Evert Rol
On 5 Sep 2010, at 22:31 , Micheal Beatty wrote: > On 09/05/2010 03:16 PM, Evert Rol wrote: >>> I'm having a little problem figuring out how to accomplish this simple >>> task. I'd like to take a list of 6 numbers and add every permutation of >>> those numbers in groups of four. For

Re: [Tutor] for loop results into list

2010-09-05 Thread Micheal Beatty
On 09/05/2010 03:16 PM, Evert Rol wrote: I'm having a little problem figuring out how to accomplish this simple task. I'd like to take a list of 6 numbers and add every permutation of those numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + 1 + 1 +1 then 1 + 1 + 1 +2 etc. unt

Re: [Tutor] for loop results into list

2010-09-05 Thread Evert Rol
> > I'm having a little problem figuring out how to accomplish this simple > task. I'd like to take a list of 6 numbers and add every permutation of > those numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + > 1 + 1 +1 then 1 + 1 + 1 +2 etc. until reaching 6 + 6

Re: [Tutor] for loop results into list

2010-09-05 Thread Micheal Beatty
On 09/05/2010 02:22 PM, Evert Rol wrote: I'm having a little problem figuring out how to accomplish this simple task. I'd like to take a list of 6 numbers and add every permutation of those numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + 1 + 1 +1 then 1 + 1 + 1 +2 etc. unt

Re: [Tutor] for loop results into list

2010-09-05 Thread Evert Rol
>>> I'm having a little problem figuring out how to accomplish this simple >>> task. I'd like to take a list of 6 numbers and add every permutation of >>> those numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + 1 >>> + 1 +1 then 1 + 1 + 1 +2 etc. until reaching 6 + 6 + 6 + 6. U

Re: [Tutor] for loop results into list

2010-09-05 Thread Andre Engels
On Sun, Sep 5, 2010 at 8:51 PM, Micheal Beatty wrote: >  On 09/05/2010 01:26 PM, Evert Rol wrote: >>> >>> Hello all, >>> >>> I'm having a little problem figuring out how to accomplish this simple >>> task. I'd like to take a list of 6 numbers and add every permutation of >>> those numbers in group

Re: [Tutor] for loop results into list

2010-09-05 Thread Micheal Beatty
On 09/05/2010 01:26 PM, Evert Rol wrote: Hello all, I'm having a little problem figuring out how to accomplish this simple task. I'd like to take a list of 6 numbers and add every permutation of those numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + 1 + 1 +1 then 1 + 1 + 1

Re: [Tutor] for loop results into list

2010-09-05 Thread Evert Rol
> Hello all, > > I'm having a little problem figuring out how to accomplish this simple task. > I'd like to take a list of 6 numbers and add every permutation of those > numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + 1 + 1 +1 > then 1 + 1 + 1 +2 etc. until reaching 6 + 6 +

[Tutor] for loop results into list

2010-09-05 Thread Micheal Beatty
Hello all, I'm having a little problem figuring out how to accomplish this simple task. I'd like to take a list of 6 numbers and add every permutation of those numbers in groups of four. For example for 1, 2, 3, 4, 5, 6 add 1 + 1 + 1 +1 then 1 + 1 + 1 +2 etc. until reaching 6 + 6 + 6 + 6. Usi