In the code below, we select 5 random integers from the range of 1 to 100. >>> import numpy as np >>> randnums= np.random.randint(1,101,5) >>> randnums array ...
確定! 回上一頁