Smart-keypad 1 test case wrong

testcase 1 is showing wrong answer but i dint think there is any logic error in code please help if possible

I think you are interpreting question in a wrong manner. The answer to 34 should be
vidhi
divyam
sneha
not the one you are printing

i am aware about the problem your talking about its named as " Smart Keypad - Advanced " and my doubt is on " Smart Keypad - 1" i have also provided sample input in the code

Oops my bad
I got it now
03 should give only:
d
e
f
Yours is giving:
d
e
f
d
e
f

thanks i rectified my code and it passes the all the test case

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.