Create Radom List of List with the first element sublist repeat n times : Please help me to create an list 329 elements from random number 0..9 and repeat time per elements as list:`list = [18, 70, 56, 30, 24, 18, 28, 54, 21, 10]`, each element is a list

    ret = []
    for i in range(329):
        new = []
        
        