title: standard normal distribution in python
body: <p>I am looking to create a standard normal distribution (mean=0, Std Deviation=1) curve in python and then shade area to the left, right and the middle of z-score(s). I also want to print the z-score(s) and the associated probability with the shaded area. </p>
  
  <p>Say for example, the shaded areas I am interested in are: </p>
  
  <p>Probability(z &lt; -0.75) </p>
  
  <p><a href="https://i.stack.imgur.com/jWpQv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jWpQv.png" alt="Probability(z &lt; -0.75)"></a></p>
  
  <p>Probability(z > 0.75)</p>
  
  <p><a href="https://i.stack.imgur.com/BKERh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BKERh.png" alt="Probability(z &gt; 0.75)"></a></p>
  
  <p>Probability(-0.75 &lt; z &lt; 0.75)</p>
  
  <p><a href="https://i.stack.imgur.com/rZTFD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rZTFD.png" alt="Probability(-0.75 &lt; z &lt; 0.75)"></a></p>
  
  <p>I used the following lines to create the standard normal distribution curve. How can I add the shaded region for associated z-scores and print the z-scores along with the probabilities?</p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  from scipy.stats import norm
  
  range = np.arange(-3,3,0.001)
  plt.plot(range, norm.pdf(range, 0, 1))
  plt.show()
  </code></pre>