how to create a random int in python code example Example: random int python import random random.randint(1, 1000) #inclucive