iterator? way of generating all possible combinations?

akameswaran at gmail.com akameswaran at gmail.com
Sat May 27 02:47:46 EDT 2006


Terry Reedy wrote:

>
> Are the dice identical or distinguishable (marked).  In other words, with 2
> dice, is 1,2 the same as 2,1 or different?  Note that in most dice games,
> such as craps, the dice are not distinguished, but probability calculations
> must treast them as if they were to get the elementary events.
>
they are distinct.  This isn't necessarily about simulating a game.  So
yes the dice are marked and I want to track those different
possibilties.




More information about the Python-list mailing list