how to match n- lists for a common elements.

  • Thread starter =?ISO-8859-2?Q?Grzegorz_=A6lusarek?=
  • Start date
?

=?ISO-8859-2?Q?Grzegorz_=A6lusarek?=

Hi all. I my application i have situation when i have some lists and i
must get from lists common elements. Exacly i don't know how many list I
have so at the moment of creation each of one I append them to one
list. So I get list wchich consist of lists of objects. And now i want
to get common objects of this list. How to do it?
Grzegorz
 
B

bruno at modulix

Grzegorz said:
Hi all. I my application i have situation when i have some lists and i
must get from lists common elements. Exacly i don't know how many list I
have so at the moment of creation each of one I append them to one
list. So I get list wchich consist of lists of objects. And now i want
to get common objects of this list. How to do it?

http://www.python.org/doc/2.4.2/lib/types-set.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top