2 test cases are not solved
your code doesn’t work for the cases like ‘K’
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.
i have done changes for input of stringg of length 1 but still it is not passing 2 test cases
@saurabh_singhCmn
@Sadaf_khan0107
there is more simple way to implement it whenever you find a capital letter just switch to new line and print and for the all the other cases just print whatever letter it is.
in case you are unable to understand this let me know.