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 ```