From 3961f4e20ebcacbe7a070f1b461f00b1bfbf2bde Mon Sep 17 00:00:00 2001 From: Arjun290101 <55923475+Arjun290101@users.noreply.github.com> Date: Tue, 1 Oct 2019 09:35:54 +0530 Subject: [PATCH] Update simple_array_sum.py --- Python/simple_array_sum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/simple_array_sum.py b/Python/simple_array_sum.py index a011071..ed2e94e 100644 --- a/Python/simple_array_sum.py +++ b/Python/simple_array_sum.py @@ -7,7 +7,7 @@ def simpleArraySum(ar): sum=0 for i in range(0,ar_count): - sum=sum + ar[i] + sum=sum + ar[i]#Finds the sum of all the elements in the array return sum if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w')