Изменил(а) на 'TEMA8/task.md'

Этот коммит содержится в:
2025-12-15 07:12:19 +00:00
родитель 9308a634d4
Коммит e4a4ea1e53

Просмотреть файл

@@ -37,12 +37,7 @@ def corrrr(list1, list2):
return 0.0 return 0.0
x = list1[:n] x = list1[:n]
y = list2[:n] y = list2[:n]
correlation = statistics.correlation(x, y)
try:
correlation = statistics.correlation(x, y)
except statistics.StatisticsError:
correlation = 0.0
return correlation return correlation
``` ```