From e4a4ea1e53c01578af97a0290da332c859a4fb9f Mon Sep 17 00:00:00 2001 From: EfremovSI Date: Mon, 15 Dec 2025 07:12:19 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'TEMA8/task.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA8/task.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/TEMA8/task.md b/TEMA8/task.md index 7a56bcf..a1ac1d9 100644 --- a/TEMA8/task.md +++ b/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 ```