Session Ready
Exercise

Plotting normal distributions

A certain restaurant chain has been collecting data about customer spending. The data shows that the spending is approximately normally distributed, with a mean of $3.15 and a standard deviation of $1.50 per customer.

Instructions
100 XP
  • Import norm from scipy.stats, matplotlib.pyplot as plt, and seaborn as sns.
  • Generate a normal distribution sample with mean 3.15 and standard deviation 1.5.
  • Plot the sample generated.