On 24/01/2006 09:46, Peter Otten uttered:

>>>>len(set([2, 2, 4, 1, 1]).intersection([2, 2, 5, 2, 4]))
> 2
> Close, but no cigar.

I need more coffee! (note to self: Always read entire problem set first)

-- Morten
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to