#to choose a random number simply do this
import random
print(random.randint(1, 100))
import random
random.randint(lower, upper)
# generate random integer values
from random import seed
from random import randint
# seed random number generator
seed(1)
# generate some integers
for _ in range(10):
value = randint(0, 10)
print(value)
#How to generate random number in python
import random
print(random.randrange(1, 10))
import random
lower_limit = 0 # Can be anything
upper_limit = 100 # Again, can be anything
# Print it out
print(f"Here is a random number: {random.randint(lower_limit, upper_limit)}
# generate random integer values, Here the rand int will generate any number
# in integer between the given range.
from random import randint
value = randint(0, 10)
print(value)