Please debug my code

hello @harryson could you please confirm you have doubt in which question.
you have raised the doubt in some other question and the code which you have shared has some another code.
please confirm.

its the same question and i want you to debug the code

hello @harryson we are here to help you only.
please be patient .
we know if you have raised doubt you need help in some code.
Well anyway, i have corrected your code and now it is printing the correct result.


Happy Learning !!

if you feel that your doubt is clear you can now mark this doubt as resolved.
Happy Learning !!

is there anything you want to ask?
i got notification from you.

yes please debug my code

i have already given you the correct code.

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.