Modulo sum test cases failing


here is my code for modulo sum problem from hackerblocks ,2 tt are not giving correct output plz look and tell me where should i change my code to resolve error…

hello @Ashu1318 could you please share the hackerblocks link of this question.
i am not able to find this question on hackerblocks.

https://hack.codingblocks.com/app/practice/1/117/problem

okay thanks i will check now.
please wait.

sir have u checked that que???

hello @Ashu1318 no actually by mistake i closed your tab and then i was not able to find your doubt in the query. i thought you have marked this as resolved but on the other side i was waiting for your reply as well.
plese give me some time .
i will resolve your doubt.

hey @Ashu1318 your code seems fine to me.
but i am not able to get what is the error.
you can raise the doubt some other TA mat help you.

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.