13 pseudo losowych liczb między 0 do 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