One answer is coming out to be wrong

Your code is giving incorrect answer for test cases like
s1 = aifha
s2 = acdlh

I have changed the code a little bit but still i am not able to rectify the mistake. Can you please tell how to do it?

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.