Recursion codes of the string problem -challgenes recursion

I tried many testcases manually and getting correct result but when i submit, i get wrong answer. Please help me where i am going wrong.

hi @govilayush your output strings are covered in quotes, in the sample output there are no quotation marks around the strings.

then how should i print the strings without quotes because in python the string are always printed within quotes. Is there a way??

hi @govilayush that is not true? Strings can be printed without quotes also, you are directly printing the entire list, this is why quotes are being printed, but you can iterate through the list and print all the words one by one so that quotes will not be printed.

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.