python random choice no repeat code example Example: random.choices without repetition random.sample(range(1, 16), 3)