intersection

Thomas Thiele thiele at muc.das-werk.de
Thu May 25 11:50:52 EDT 2000


Hallo!

Is there a function returning the intersectin of two lists.

Example:

l1 = [1,2,3,4,5]
l2 = [4,5,6,7,8]

l3 should be [4,5] 

It' s not diffucult to program it, but I couldn't find a
build-in-fucnction. Or I'm blind?



More information about the Python-list mailing list