Q:

Write a NumPy program to generate five random numbers from the normal distribution

0

Write a NumPy program to generate five random numbers from the normal distribution.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

import numpy as np
x = np.random.normal(size=5)
print(x)

Sample Output:

[-1.85145616 -0.4639516   0.49787567  1.23607083 -1.33332987]

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now