Re: [Tutor] number generator

2007-03-13 Thread Dick Moores
So sorry. I meant this for the python list. Dick Moores At 05:49 AM 3/13/2007, Dick Moores wrote: >At 02:52 AM 3/13/2007, Duncan Booth wrote: > >Dick Moores <[EMAIL PROTECTED]> wrote: > > > > > But let's say there is one more constraint--that for each n of the N > > > positive integers, there mus

Re: [Tutor] number generator

2007-03-13 Thread Dick Moores
At 02:52 AM 3/13/2007, Duncan Booth wrote: >Dick Moores <[EMAIL PROTECTED]> wrote: > > > But let's say there is one more constraint--that for each n of the N > > positive integers, there must be an equal chance for n to be any of > > the integers between 1 and M-N+1, inclusive. Thus for M == 50 and