import numpy as np
rand_num = np.random.normal(0,1,15)
print("15 random numbers from a standard normal distribution:")
print(rand_num)
Sample Output:
15 random numbers from a standard normal distribution:
[ 0.42690788 1.81615544 0.36591912 -0.41417837 -1.13061369 -1.31777265
0.03659045 0.60765805 -0.2148491 0.25934697 -0.89221431 0.33059367
-0.59079163 0.29665161 -0.2753327 ]
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer