>>> import random >>> random.sample(range(1, 100), 3) [77, 52, 45]
import random print(random.randint(0,9)) # random.randint(Starting_no, ending no.)