Is there a module containing a function for listing the unique k-element
subsets of an n-item list?  I have written some code (right now I only
need it for 2 element subsets):


Apparently not, but maybe this will help:
http://www.google.com/search?q=python+recipe+list+combinations
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/190465

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to