random seed

Magnus Lycka lycka at carmen.se
Wed Aug 17 10:41:07 EDT 2005


Robert Kern wrote:
>   random.seed(1234567890)
> 
> is traditional and works just fine.
> 
> Other favorites:
> 
>   3141592653589793
>   2718281828459045

Nothing beats 42!
(That was just an exclamation mark in the end, no factorial intended.)

371 is another nice number, since it's its own reverse in hex.

If you liked 3141592653589793, you might also like 113355. :)



More information about the Python-list mailing list