I have attatchhed link to my code 3 test cases runned idk why rest are not running


this is the link to my code pls edit it and provide me the solution

hi @asinghal1_be19 i have replied to your other doubt

plz check why 1 test is not getting over

@asinghal1_be19 see you should not flip the first digit only when it is 9 because leading zeroes are not allowed, otherwise normal rules apply to it.
5454 should give 4444 but the output is still 5444

thanks a lot for ur help and support

1 Like

@asinghal1_be19 dont forget to mark your doubt as resolved! :slight_smile:

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.