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