# import statistics library as stat
#
import statistics as stat
#
# import matplotlib.pyplot as plt and NumPy as np
import matplotlib.pyplot as plt
import numpy as np
temps = [45, 51, 38, 42, 47, 51, 52, 55, 48, 43]
average = 0
n = len(temps)
days = np.linspace(1,n,n)
print (f'Mean of tempetures is {stat.mean (temps)}')
print (f'Median of temps is {stat.median(temps)}')
print (f'Mode of tempetures is {stat.mode(temps)}')
print (f'Variance of tempetures is {stat.variance (temps)}')
print (f'Standard deviation of tempetures is {stat.stdev(temps)}')
# Plot the temperatures vs the days as a scatter plot using a red "x"
x = np.linspace()
#
# Plot the mean as a horizontal line in green
#
# Illustrate 1 standard deviation away from the mean by drawing two horizonal lines in
# as dotted blue lines
plt.show()
x= np.random.randint (low = 100, high = 200, size = 15)
print (x)
x= np.random.uniform(size = 15)
print (x)
x= np.random.uniform(size = 15)
x = 10 + (40-10)*x
print (x)
x= np.random.normal (size = 15)
print (x)
x= np.random.normal(size = 10)
x = 20 + (.5)*x
print (x)