I did this to test the randomness of randint:
>>> from random import randint >>> >>> uniques = [] >>> for i in range(4500
If you don't want repetative one, generate sequential array and use random.shuffle