creating random integer in python code example Example: random int python import random random.randint(1, 1000) #inclucive