diff --git a/Algorithms/algorithms/find_sum.py b/Algorithms/algorithms/find_sum.py new file mode 100644 index 0000000..5b3e874 --- /dev/null +++ b/Algorithms/algorithms/find_sum.py @@ -0,0 +1,5 @@ +def find_sum(given_array): + total = 0 + for i in given_array: + total += i + return total