代码示例:(标识:python_numpy_random_array_1)
python_numpy_random_array_1.py
from numpy import random

x=random.randint(100, size=(5))

print(x)
运行结果: