This code gives 2D arrays but I need multiple 1-dimensional arrays with random numbers.
a,b,c,d,e=[],[],[],[],[]
for i in (a,b,c,d,e):
j=np.random.randint(0,15,size=7)
i.append(j)
print(a,b,c,d,e)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…