demo_ref_random_randint.py:
import random print(random.randint(3, 9)) #returns a number between 3 and 9 (both included)
➜ begtut>python demo_random_randint.py