Как рассчитать среднее в питоне
import statistics
a = [1,2,3,4,5]
mean = statistics.mean(a)
#Similar for other values such as variance, standard deviation
Adorable Antelope