Answer:
Python Programming Language
import statistics
mylist = [27, 5, 18, 66, 12, 5, 9]
print("Mode: ",statistics.mode(mylist))
print("Median: ",statistics.median(mylist))
print("Mean: ",statistics.mean(mylist))
Step-by-step explanation:
This line imports stats.py into the program
import statistics
This line defines a list (The example list in the program)
mylist = [27, 5, 18, 66, 12, 5, 9]
This line uses the defined function to calculate and print the mode
print("Mode: ",statistics.mode(mylist))
This line uses the defined function to calculate and print the median
print("Median: ",statistics.median(mylist))
This line uses the defined function to calculate and print the mean
print("Mean: ",statistics.mean(mylist))