一、np.random.randintimport numpy as npy1=np.random.randint(2,10,(3,2))print(y1)输出: array([[6, 5], [2, 6], [6, 4]])解释:生成3行2列的数组 ...
確定! 回上一頁