python how to generate random integer code example Example: generate random number python import random random.randint(lower, upper)