[Tutor] Re: Random numbers

Isaac Hall hall at ouhep1.nhn.ou.edu
Fri Oct 10 16:25:50 EDT 2003


In this case, the last number would not be random at all.

Ike

On Fri, 10 Oct 2003, Abel Daniel wrote:

> UCT Student - DLLBIA001 <DLLBIA001 at mail.uct.ac.za> writes:
> 
> > i was just wandring if you could not help me to generate 25 random
> > numbers in the range of 0 to 24 without any number repeating.
> 
> Just a note: in this case you aren't 'generating random numbers' but
> 'shuffling numbers'.
> 
> Abel Daniel
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 

-- 




More information about the Tutor mailing list