Project: Sample Mean
To calculate the [[Sample_mean_and_covariance|mean]] (or average)
is the sum of a number of random samples divided by the number in the sample. Write a program that computes the mean of 10 random floating point values in the interval [0,1). This closed/open [[Interval_(mathematics)|interval]] notation means 0 is in the range but 1 is not. Print the mean to four decimal places. Run the program multiple times to confirm that you get different results each time.Output
$ python3 SampleMean.py
Sample mean: 0.4440
$ python3 SampleMean.py
Sample mean: 0.7269
$ python3 SampleMean.py
Sample mean: 0.3784