Name: Anonymous 2012-01-08 21:14
Need to sort 10 randomly generated numbers with arrays and bubble sorting. I've figured out how to get the sorting, but how do I randomize the numbers?
from random import randrange
array = []
for i in range(0,9):
array.append(randrange(5000))
array.sort()
print array