I think this was already mentioned in the replies to your other post:
from random import sample
base = int(input("Enter the bottom of the range? "))
upper = int(input("Enter the upper limit of your range: "))
quantity = int(input("How many numbers do you want to select: "))
sample(range(base, upper), quantity)
http://docs.python.org/library/random.html#random.sample
--
Nick Zarczynski <http://rentageekit.com>
Blog 4 <http://nickzarr.com>
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor