news at myNOSPAM.org
Tue May 15 04:19:27 EDT 2001
"Rainy" <sill at optonline.net> wrote in message
news:slrn9g1i5g.c16.sill at sill.silmarill.org...
> On Mon, 14 May 2001 19:11:01 GMT, Stephen Hansen <news at myNOSPAM.org>
> > nums = [whrandom.randint(1, 1000) for i in range(1, 1000)]
> That'll make 999 ints :P Also, whrandom is deprecated in 2.1?
> >>> import random
> >>> nums = [random.randint(1, 1000) for i in range(0,5)]
> >>> print nums
Ack! *laugh*. Nonthinking typo on my part. As for the whrandom bit --
oh! I didn't know that either. So, over all, my help here was nil. *grin* Oh
(replace 'NOSPAM' with 'seraph' to respond in email)
More information about the Python-list