Run »
import random print(random.randrange(3, 9)) #returns a number between 3 (included) and 9 (not included)