13 pseudo nombres aléatoires entre 0 et 3 python

def generate_numbers():
    data = []
    while len(data) < 1001:
        numbers = np.random.choice(a=4, size=13).tolist()
        data.append(numbers)
    return data
Envious Eagle