import random


def initialList(dices) :

    """
    Creates a list L with all the rolled dices, we sort it by decreasing order to use it more easily.

    Parameters
    ----------
    dices : int
        Number of dices (D10) which will be rolled.
    """

    L = []
    for i in range(dices) :
        L.append(random.randint(1,10))
    L.sort(reverse = True)
    return L