From c6d61f15ce0f20c156fc72690a1b930dd93cc8d0 Mon Sep 17 00:00:00 2001 From: jwt25 Date: Tue, 14 Oct 2025 11:39:43 +0100 Subject: [PATCH] changed functions1 --- simple_functions/functions1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_functions/functions1.py b/simple_functions/functions1.py index 8c63a4d..21785d2 100644 --- a/simple_functions/functions1.py +++ b/simple_functions/functions1.py @@ -5,5 +5,5 @@ def my_sum(iterable): tot = 0 for i in iterable: - tot += i + tot += i+1 return tot