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

main
EfremovSI 4 недель назад
Родитель 9308a634d4
Сommit 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
``` ```

Загрузка…
Отмена
Сохранить