W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_numpy_random_array_2.py:
from numpy import random x = random.choice([3, 5, 7, 9]) print(x)
x
from
numpy
import
random
x
=
random
.
choice
([
3
,
5
,
7
,
9
])
print
(
x
)