主页
Python
NumPy 数组迭代
demo_numpy_array_iterating1
运行 ❯
×
更改方向
保存代码
更改主题
import numpy as np arr = np.array([1, 2, 3]) for x in arr: print(x)
1
2
3