i am not able to pass all testcase can you please help me to fix this problem.
Help me to pass testcase
@rg204880_03cd55c961ce3bf4
as per problem statement you have to take sum of odd numbers and sum of even numbers separately.
sir i cant able to pass the testcases can you again help me .
you are doing the same thing, checking all numbers sum together.
what you should do is take two variable odd_sum , even_sum and check if a digit is odd add it to odd_sum and if it is even add it to even_sum then check if even_sum is divisible by 4 or not and odd_sum by 3.
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.
Sorry Sir but still I can’t able to pass the testcase.