Test cases didnt pass

Dont know why my code didnt pass test cases… Or I think I misunderstood it… not able to rethink it again

Hi @HemantNasa,
There was a bit conceptual issue … The sum of odd digits must be divisible by 3 or the sum of even digits must be divisible by 4. So we have to calculate two sums …One for odd digits and one for even digits .
I have corrected your code have a look.

Yaaa I understood Now… : ) It was my mistake to misunderstand the question… Now I’m clear… thanks For making me understand…

Happy to help. Resolve the doubt please if you already haven’t.