Question: Firstly, I don't understand what np.random.seed() does. Does the number inside of seed() matter? Secondly, plt.hist(a,bins=[-0.5,0.5,1.5,2.5],density=True) I don't get the range bins why there is

Firstly, I don't understand what np.random.seed() does. Does the number inside of seed() matter?
Secondly, plt.hist(a,bins=[-0.5,0.5,1.5,2.5],density=True) I don't get the range bins why there is 4 element, also density
and what we are plotting ?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
