Sum of Arrays-Test Case Failed

Still 2 Test case are failing . Please tell where the code is wrong

Hello @siddharth_redhu your code is giving output like this:
19, 9, 9, 8, END
passing all the test cases now:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.