on writing a while loop for rolling two dice

Peter Otten __peter__ at web.de
Mon Aug 30 10:33:51 EDT 2021


On 30/08/2021 06:17, dn via Python-list wrote:

> OTOH the simulation of rolling n-number of dice, as would happen in the
> real-world, would be broken by making the computer's algorithm more
> efficient (rolling until the first non-equal value is 'found'). Does
> that mean the realism of the model dies?

You've got to ask your dietician...

(I'm sure everyone agrees that I should stop here. And stop I will)



More information about the Python-list mailing list