1# generate random integer values
2from random import seed
3from random import randint
4# seed random number generator
5seed(1)
6# generate some integers
7for _ in range(10):
8 value = randint(0, 10)
9 print(value)
10
1import random
2value = randint(1,10)
3#1 and 10 represent the range for your random value
4print(value)
5