主页
Python
NumPy 中的随机数
demo_numpy_random_array3
运行 ❯
×
更改方向
保存代码
更改主题
from numpy import random x = random.choice([3, 5, 7, 9], size=(3, 5)) print(x)