Задача EqualSums от Arrays
Здравейте, някой би ли видял грешката която аз не успявам.
Write a program that determines if there exists an element in the array such that the sum of the elements on its left is equal to the sum of the elements on its right. If there are no elements to the left / right, their sum is considered to be 0. Print the index that satisfies the required condition or “no” if there is no such index.
Това е условието.
Моето решение което НЕ работи...
https://pastebin.com/5JqirgJt
Благодаря.