Hello,
you can use random.sample function. Like this:
you can use random.sample function. Like this:
import random min_value = 1 max_value = 10 count = 5 random_numbers = random.sample(range(min_value, max_value), count) print(random_numbers)