random 模塊的這個函數用於生成從inclusive(low)到exclusive(high)的隨機整數。 例:. import numpy as np a=np.random.randint(3, size=10) a. 輸出:. array([1, 1, 1 ...
確定! 回上一頁