I did a number generator that looked like this:
import random
import math
for i in range(10):
c1 = (random.choice([1, 2, 3, 4, 5, 6, 7, 8, 9]))
c2 = (random.choice([1, 2, 3, 4, 5, 6, 7, 8, 9]))
c3 = (random.choice([1, 2, 3, 4, 5, 6, 7, 8, 9]))
for i in range(90):
print ('{}{}{}'.format(c1, c2, c3, ))
It works almost everything, when I run the code in pycharm it generates 90 combinations but all of them are the same but I want them to be random as if I had run the code several times.