Sample output is same but wrong answer shows

my answer looks exactly same as given in question and i check with gap of a tab and also space it’s wrong answer in both case.

Please tell me Where did I get wrong ?

hi @mahroosanwar0901_2642b14836027bbf
in o/p tab space is not expected…
refer this 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.