how to choose a random integer in python code example
Example 1: random int python
import random
random.randint(1, 1000) #inclucive
Example 2: how to create a random number between 1 and 10 in python
smallest = 0
largest = 100
random_number = random.randint(smallest, largest - 1)
Example 3: how to make a random int in python
random.randint(0, 100)
##This would make the random number be from 0 to 100