"jonathan wallis" <mindboggle...@gmail.com> wrote in message news:57b8984c0906301738w1fb0e660m6bb2123399f27...@mail.gmail.com...
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  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to