How to generate random array using numpy with Python

1 Answer

0 votes
import numpy as np

arr = np.random.randint(10, 100, 7)

print(arr)




'''
run:

[99 37 77 89 18 35 59]

'''

 



answered Feb 25, 2023 by avibootz
...