0

pls fix this code... it is only printing first word in reverse..

https://code.sololearn.com/c97NOfmA5ejr/?ref=app without using inbuilt function

8th Aug 2019, 7:52 AM
shikha Gupta
shikha Gupta - avatar
1 Answer
0
maybe try to find a method like split(), which can cut a string into words. then you can loop over the words and reverse them individually
8th Aug 2019, 8:15 AM
Anton Böhler
Anton Böhler - avatar