how to generate random intergers in range k code example
Example 1: generate random number python
import random
random.randint(lower, upper)
Example 2: python random
from random import randint # Import randint from random
print(randint(1,20)) # Gets random number from first parameter to the second