How do make a function that creates a sequence of n random numbers?

Gerhard Häring gh at ghaering.de
Wed Feb 18 17:30:10 CET 2004


shivermetimbers15 wrote:
> I'm new to Python, as you can tell, and I'm interested in how to do this.

Do you want to create your own random number generator, or do you just want to use 
an existing one?

If you want to use a good one, you can just use the one in the Python standard 
library in the module 'random'.

-- Gerhard




More information about the Python-list mailing list