import random


def generate_unique_randomized_list(list_size=None):
    """
    Purpose:
        Generate a Randomized List with Unique Values
        of a sepcified size
    Args:
        list_size (Int): Size of list to generate. Lists
        default to 50 ints
    Returns:
        randomized_list (List): Unsorted and randomized
        list
    """

    randomized_list = []

    if not list_size:
        list_size = random.randint(1, 50)

    for x in range(list_size):
        randomized_list.append(
            random.randint(0, 10000)
        )

    return list(set(randomized_list))