On giving the input as
Hello World
I get this output
Can you explain why?
On giving the input as
Hello World
I get this output
Can you explain why?
send me the code i will check
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.
your code is correct but you input may be wrong
you are setting delimiter to ‘\n’ so if your input doesn’t contain ‘\n’ then it will print garbage values
Your code with correct input (check here)