How to print final output

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

Hey @aatmictiwari19, in order to help you I first need to see your code. Please share your code using ide.codingblocks.com


this is the link :slight_smile: @mr.encoder

Okay I got it , so tell me what issue you are getting in this

The code you implemented is not right @aatmictiwari19 :frowning:
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 :slight_smile:

yes, I will take that thing in mind from now on…thank you so much @mr.encoder :+1:

Good work @aatmictiwari19

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.