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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!