removing common elemets in a list

janislaw wicijowski at gmail.com
Thu May 17 04:29:33 EDT 2007


On May 16, 8:17 am, saif.shak... at gmail.com 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 newsletter. The following
post displays 4 different approaches and explores timings:

http://groups.google.com/group/pl.comp.lang.python/msg/dc3618b18e63f3c9

Fortunately, python code is universal.




More information about the Python-list mailing list