I have a script that generates 10 random numbers between 2 and 12:
repetition = 10 while repetition > 0: print(random.randint(2,12)) repetition =
You can set seed value dependent on the time. Seed value will change with every call.
import random import time random.seed(time.clock()) repetition = 10 while repetition > 0: print(random.randint(2,12)) repetition = repetition - 1