from random import randint value = randint(1,10) #1 and 10 represent the range for your random value print(value)
import random value = randint(1,10) #1 and 10 represent the range for your random value print(value)