python random int from range code example
Example 1: random number python
# generate random integer values
from random import randint
value = randint(0, 10)
print(value)
Example 2: How to get random int between two numbers python
import random
print(random.randint(10,100))
this will output somthing between 10 and 100