diff --git a/python/AVeryBigSum.py b/python/AVeryBigSum.py new file mode 100644 index 0000000..bfba4ad --- /dev/null +++ b/python/AVeryBigSum.py @@ -0,0 +1,7 @@ +# https://www.hackerrank.com/challenges/a-very-big-sum/problem + +def aVeryBigSum(ar): + sum = 0 + for index in range(len(ar)): + sum+=ar[index] + return sum