Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if found two tuples the smallest tuples is removed from the
list.
example if tuple 1 and tuple 3 are compare it should find that a
single element in
On Sat, Aug 20, 2011 at 1:25 AM, Jurgens de Bruin debrui...@gmail.com wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if found two tuples the smallest tuples is removed from the
list.
On Aug 20, 10:45 am, Chris Rebert c...@rebertia.com wrote:
On Sat, Aug 20, 2011 at 1:25 AM, Jurgens de Bruin debrui...@gmail.com wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if
On Aug 20, 10:45 am, Chris Rebert c...@rebertia.com wrote:
On Sat, Aug 20, 2011 at 1:25 AM, Jurgens de Bruin debrui...@gmail.com wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if
Jurgens de Bruin wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if found two tuples the smallest tuples is removed from the
list.
It's not clear what you mean by smallest tuple. Is
On Aug 20, 12:17 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info wrote:
Jurgens de Bruin wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if found two tuples the smallest
Jurgens de Bruin wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if found two tuples the smallest tuples is removed from the
list.
example if tuple 1 and tuple 3 are compare it
On Sat, 20 Aug 2011 01:25:18 -0700 (PDT)
Jurgens de Bruin debrui...@gmail.com wrote:
Hi,
I have a list of tuples:
[(2,),(12,13),(2,3,4),(8,),(5,6),(7,8,9),]
I would like to compare all the tuples to each other and if one
element if found two tuples the smallest tuples is removed from