"jonathan wallis" <[email protected]> wrote in message news:[email protected]...
My problem is simple, is their a way to make a variable equal multiple numbers? Such as X = 5 through 10, and then the program makes x equal something random 5 through 10, or something similar.
Use the random module. There are various types of random number generation there, such as:
x = random.randint(5,10) -Mark _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
