当前位置:主页 > 软件编程 > Python代码 >
时间:2021-04-09 09:02:22 | 栏目:Python代码 | 点击:次
如下所示:
import numpy as np y1=np.random.randint(2,10,(5,3)) print ("排序列表:", y1) np.random.shuffle(y1) print ("随机排序列表:", y1)