Re: the first element in the list of list

2005-11-25 Thread Ben Bush
On 11/22/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > "Ben Bush" wrote: > > > This question just came to my mind and not assigned by anyone. > > given that you and "Shi Mu" are asking identical questions, and that > you've both started to send questions via direct mail, can you please > ask your

Re: the first element in the list of list

2005-11-22 Thread Fredrik Lundh
"Ben Bush" wrote: > This question just came to my mind and not assigned by anyone. given that you and "Shi Mu" are asking identical questions, and that you've both started to send questions via direct mail, can you please ask your course instructor to contact me asap. thanks /F -- http://ma

Re: the first element in the list of list

2005-11-22 Thread Ben Bush
On 11/22/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Ben Bush wrote: > > > I have a lis: > > [[1,3],[3,4],[5,6],[8,9],[14,0],[15,8]] > > I want a code to test when the difference between the first element in > > the list of list is equal to or larger than 6,

the first element in the list of list

2005-11-22 Thread Ben Bush
I have a lis: [[1,3],[3,4],[5,6],[8,9],[14,0],[15,8]] I want a code to test when the difference between the first element in the list of list is equal to or larger than 6, then move the previous lists to the end of the list. that is: [[14,0],[15,8],[1,3],[3,4],[5,6],[8,9]] -- http

Re: the first element in the list of list

2005-11-22 Thread Dennis Benzinger
Ben Bush schrieb: > I have a lis: > [[1,3],[3,4],[5,6],[8,9],[14,0],[15,8]] > I want a code to test when the difference between the first element in > the list of list is equal to or larger than 6, then move the previous > lists to the end of the list. that is: > [[14,0],[15,8

Re: the first element in the list of list

2005-11-22 Thread bruno at modulix
Ben Bush wrote: > I have a lis: > [[1,3],[3,4],[5,6],[8,9],[14,0],[15,8]] > I want a code Then write it. And when (if) you have problems with it, repost, we'll then be happy to help you. > to test when the difference between the first element in > the list of list is equal

Re: the first element in the list of list

2005-11-22 Thread Fredrik Lundh
Ben Bush wrote: > I have a lis: > [[1,3],[3,4],[5,6],[8,9],[14,0],[15,8]] > I want a code to test when the difference between the first element in > the list of list is equal to or larger than 6, then move the previous > lists to the end of the list. that is: > [[14,0],[15,8