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