randint python w3schools code example Example: random.randint import random print(random.randint(3, 9))