+2 votes
in NumPy by
How to Print Range Between 1 To 15 and show 4 integers random numbers

1 Answer

0 votes
by

Print Range Between 1 To 15 and show 4 integers random numbers

rand_arr = np.random.randint(1,15,4)

print(‘\n random number from 1 to 15 ‘,rand_arr)

...