import random


def get_random_list(length=100, max_num=10):
    """
    Generate a list containing random numbers.

    Args:
        length (int):   The length of the list to generate.
        max_num (int):  The largest number to include in the list.
    """
    return [random.randrange(1, max_num, 1) for _ in range(length)]