[Tutor] (no subject)
kellyadrian at hotmail.com
Mon Oct 17 22:01:19 CEST 2011
Hello world, can anyone tell me how i can perfect the program below.
it works find (prints 6 random numbers within a range) but on occasions the numbers are repeated.
Thanks so much everyone
#program that will allow the user to generate random numbers
#from a range that they select.
base=input ("Enter the bottom of the range? ")
upper=input ("Enter the upper limit of your range: ")
quantity=input ("How many numbers do you want to select: ")
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor