random integer from a to b python code example Example: random range python from random import randrange print(randrange(10))