[Cialug] Shotgun?

Kenneth Ristau kristau at kristau.net
Mon Aug 15 06:39:33 CDT 2005


Renegade Muskrat wrote:
> What was the "for" loop for on your version of the script?

Just extraneous randomization.  Note that the days are given in no
particular order as well.  One could get carried away with adding more
randomness, such as randomizing the actual list of days each time, too.

You could also add this line to the end:

  print( "The Magic 8-Ball has spoken.\n");

later,
kristau
-- 
Tired programmer
Coding late into the night
The core dump follows

My GNUPG public key is available at http://www.kristau.net/public_key.asc


More information about the Cialug mailing list