import statistics

temp = [2, 2, 1, 1, 3, 4, 3, 3]

print("Середня температура:", statistics.mean(temp))
print("Найчастіша температура (мода):", statistics.mode(temp))
print("Амплітуда (розмах):", max(temp) - min(temp))
print("Відхилення від середньої:", statistics.stdev(temp))
print("Медіана:", statistics.median(temp))
print("Дисперсія:", statistics.variance(temp))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: