#!/usr/bin/python3 # -*- coding: utf-8 -*- # %% Basic statistics import statistics help(statistics) print(dir(statistics)) data = [2.75, 1.75, 1.25, 0.25, 0.5, 1.25, 3.5] print(statistics.mean(data)) print(statistics.median(data)) print(statistics.mode(data)) print(statistics.variance(data)) print(statistics.stdev(data)) # and more