There are some syntax error i m unable to make changes

plz make the required changes . here is my code

Hey @asinghal1_be19
You can’t do s+1 in string like u do with arrays

So instead use s.substr(1). ,this will send substring from length 1 to n

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.