Sum at even and odd places in number

sir please clarify where i am going wrong

hi @abhinavai21_5c95a2a2e1fb9fe8, remove line no 10
u dont need to print initial sum1

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.