Re: removing common elemets in a list

2007-05-17 Thread janislaw
On May 16, 8:17 am, [EMAIL PROTECTED] wrote: > Hi, > Suppose i have a list v which collects some numbers,how do i > remove the common elements from it ,without using the set() opeartor. > Thanks There was a similar thread on polish python

Re: removing common elemets in a list

2007-05-16 Thread Michael Bentley
On May 16, 2007, at 10:36 AM, John Zenger wrote: > On May 16, 2:17 am, [EMAIL PROTECTED] wrote: >> Hi, >> Suppose i have a list v which collects some numbers,how do i >> remove the common elements from it ,without using the set() opeartor. >>

Re: removing common elemets in a list

2007-05-16 Thread John Zenger
On May 16, 2:17 am, [EMAIL PROTECTED] wrote: > Hi, > Suppose i have a list v which collects some numbers,how do i > remove the common elements from it ,without using the set() opeartor. > Thanks Submit this as your homework answer -- it wi

Re: removing common elemets in a list

2007-05-16 Thread Carsten Haese
On Tue, 2007-05-15 at 23:17 -0700, [EMAIL PROTECTED] wrote: > Hi, > Suppose i have a list v which collects some numbers,how do i > remove the common elements from it ,without using the set() opeartor. > Thanks If the list is sorted, you ca

Re: removing common elemets in a list

2007-05-15 Thread Gary Herron
[EMAIL PROTECTED] wrote: > Hi, > Suppose i have a list v which collects some numbers,how do i > remove the common elements from it ,without using the set() opeartor. > Thanks > > Several ways, but probably not as efficient as using a set

Re: removing common elemets in a list

2007-05-15 Thread Tim Golden
[EMAIL PROTECTED] wrote: > Hi, > Suppose i have a list v which collects some numbers,how do i > remove the common elements from it ,without using the set() opeartor. Is this a test? Why don't you want to use the set operator? Anyway, you can just move things from one list into another excludi

removing common elemets in a list

2007-05-15 Thread saif . shakeel
Hi, Suppose i have a list v which collects some numbers,how do i remove the common elements from it ,without using the set() opeartor. Thanks -- http://mail.python.org/mailman/listinfo/python-list