ответвлено от main/python-labs
Изменил(а) на 'TEMA8/task.md'
Этот коммит содержится в:
@@ -37,12 +37,7 @@ def corrrr(list1, list2):
|
||||
return 0.0
|
||||
x = list1[:n]
|
||||
y = list2[:n]
|
||||
|
||||
try:
|
||||
correlation = statistics.correlation(x, y)
|
||||
except statistics.StatisticsError:
|
||||
correlation = 0.0
|
||||
|
||||
correlation = statistics.correlation(x, y)
|
||||
return correlation
|
||||
```
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user