import numpy as np import seaborn as sns # seaborn package를 이용 import matplotlib.pyplot as plt # matplotlib.pyplot package를 이용 from numpy import random # set the random seed: np.random.seed(12345) r=100000 z = random.normal(loc=0, scale=1, size=r) np.mean(z) print("Mean of Standard Normal Distribution is : ", np.mean(z)) np.var(z) print("Variance of Standard Normal Distribution is : ", np.var(z)) sns.histplot(data=z, x=None, kde=True).set(title='Histogram of z)') plt.show()