[Tutor] Best method for filtering lists in lists...

Luke Paireepinart rabidpoobear at gmail.com
Sat Dec 16 02:04:24 CET 2006


Chris Hengge wrote:
> I've got a list of lists that looks like this
>
> [[1,2,3], [4,5,6],[1,2,3]]
>
> I'm looking for a good way to drop the redundant inner lists 
> (thousands of inner lists)
>
> Someone either have a good way to tackle this? or willing to point me 
> in the right direction?
>
> Thanks!
>   
Didn't we give multiple solutions to a similar problem with lists with 
redundant elements a few weeks ago?
Well, the solutions will be the same, regardless that the elements 
inside are lists themselves.

HTH,
-Luke


More information about the Tutor mailing list