1# generate random integer values
2from random import randint
3
4value = randint(0, 10)
5print(value)
6
1from random import randint
2
3radnom_number = randint(1, 10) # generate random number from 1 to 10. including 10
4
5print(radnom_number)
6
7# Possible outputs
8# 1
9# 2
10# 3
11# 4
12# 5
13# 6
14# 7
15# 8
16# 9
17# 10