demo_numbers_random.py:
import random print(random.randrange(1,10))
➜ begtut>python demo_numbers_random.py