+2 votes
in NumPy by
describe the example of seed() function? and how to use it ? why seed()?

1 Answer

0 votes
by
The example of seed() function? and how to use it ? why seed()

np.random.seed(123)

rand_arr4 = np.random.randint(1,100,20)

print(‘\nseed() showing same number only : ‘,rand_arr4)

Related questions

0 votes
asked Oct 28, 2022 in Python by SakshiSharma
0 votes
asked Mar 18, 2021 in PL/SQL by sharadyadav1986
...