Combinations function

Mark Pilgrim f8dy at yahoo.com
Mon Feb 26 13:50:35 EST 2001


There is nothing built into Python to do this, but I found this on the
Python Knowledge Base (a wonderful resource for those who don't know about
it):
  http://www.faqts.com/knowledge_base/view.phtml/aid/4526/fid/538

-M
You're smart; why haven't you learned Python yet?
http://diveintopython.org/


"Glen Mettler" <gem at hsv.crc.com> wrote in message
news:97e52o$41c$1 at hobbes2.crc.com...
> Is there a python function that will give me the possible combinations of
a
> set?
> ie - in list a,b,c,d there are 4! or 24 possible combinations.  Is there
an
> existing function to print the possible combinations?
>
> Glen
>
>
>





More information about the Python-list mailing list