I have a script that generates 10 random numbers between 2 and 12:
repetition = 10 while repetition > 0: print(random.randint(2,12)) repetition =
#Try numpy:
import numpy as np
np.random.randint(low=1,high=7,size=10)
#Mostlikely, it will give you different results after each run.