Write a NumPy program to generate five random numbers from the normal distribution.
import numpy as np x = np.random.normal(size=5) print(x)
Sample Output:
[-1.85145616 -0.4639516 0.49787567 1.23607083 -1.33332987]
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Sample Output:
need an explanation for this answer? contact us directly to get an explanation for this answer