Loop is not working fine

the code is working on other platforms

hi @abhisheksingh80511 i think you misinterpreted the question
You dont have to take the sum of the entire number
take the sum of digits which are odd separately and the sum of digits which are even as well
either the even sum should be divisible by 4 OR the odd sum should be divisible by 3