all possible combinations

John Machin sjmachin at lexicon.net
Wed Jul 13 18:49:05 EDT 2005


Steven D'Aprano wrote:
> On Wed, 13 Jul 2005 10:39:41 -0400, rbt wrote:
[snip]
> Ah, then that's easy. Sit down with pencil and paper, write out all 64
> combinations yourself, and then type them into a Python list. Then you can
> access any one of those combinations with a single call.
[snip]
>>My list is not arbitrary. I'm looking for all 'combinations' as I
>>originally posted. Order does not matter to me... just all possibilities.
> 
> 
> That's good, since you only need combinations of "a", "b" and "c" the

"You keep using that word. I do not think it means what you think it means."

Both of you please google("define: combination")



More information about the Python-list mailing list