import random


def get_randints(lower, upper, exclude):
    """Generate a set of unique random numbers in a range (inclusive)."""
    numbers = [i for i in range(lower, upper, 1)]
    numbers.remove(exclude)
    random.shuffle(numbers)
    return numbers