Sir, I had made the first part that is function part but I am unable to print output, ie the main part, I know it has to do something with strings but I can’t figure it out
How to print final output
Hey @aatmictiwari19, in order to help you I first need to see your code. Please share your code using ide.codingblocks.com
Okay I got it , so tell me what issue you are getting in this
The code you implemented is not right @aatmictiwari19 
The process you thought is good. And I like the approach you implemented. But it won’t pass test cases. Look here https://ide.codingblocks.com/s/348717 , i have added few comments to which will help you in analysing approach in a better way 
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.
