Op 19 jan 2006 vond Peter Otten <[EMAIL PROTECTED]> : > sum(min(list.count(n), ref.count(n)) for n in set(ref)) > > Is that it?
Seems like this is it! Thanks. -- http://mail.python.org/mailman/listinfo/python-list
Op 19 jan 2006 vond Peter Otten <[EMAIL PROTECTED]> : > sum(min(list.count(n), ref.count(n)) for n in set(ref)) > > Is that it?
Seems like this is it! Thanks. -- http://mail.python.org/mailman/listinfo/python-list