🏆🏆🏆CHALLENGE🏆🏆🏆 Playing with Strings | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 11

🏆🏆🏆CHALLENGE🏆🏆🏆 Playing with Strings

This is a modified challenge from another challenge. Task==> You have to modify the string in such a way that their order remains same but the word itself is reversed. Example: Input==> This is a Sololearn Challenge Output==> sihT si a nraeloloS egnellahC All The Best!!!

1st Dec 2017, 11:36 AM
Kartik
Kartik - avatar
31 Answers
1st Dec 2017, 1:44 PM
LukArToDo
LukArToDo - avatar
+ 27
i will also make ... just wait for some minutes // u modified challenge & i will modify code ☺ //& here is my code https://code.sololearn.com/cD5IdI0O426i/?ref=app
1st Dec 2017, 1:29 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
1st Dec 2017, 11:58 AM
Justine Ogaraku
Justine Ogaraku - avatar
+ 12
Python:: print(*[i[::-1] for i in input().split()])
1st Dec 2017, 2:03 PM
Kartikey Sahu
Kartikey Sahu - avatar
2nd Dec 2017, 11:21 AM
Käzî Mrîdùl Høssäîn
Käzî Mrîdùl Høssäîn - avatar
+ 11
ES6: alert(prompt("").split(" ").reduce(function(a, b) { return a + " " + b.split("").reverse("").join(""); }, ""));
1st Dec 2017, 12:36 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 9
Here's my try, sorry for being late :) https://code.sololearn.com/cSJ9Ohyn4FqS/?ref=app
2nd Dec 2017, 9:17 PM
Ipang
+ 8
https://code.sololearn.com/cKA0cEknhRPd/?ref=app
1st Dec 2017, 12:50 PM
GAWEN STEASY
GAWEN STEASY - avatar
1st Dec 2017, 7:54 PM
Alex V. S.
1st Dec 2017, 6:49 PM
Ferhat Sevim
Ferhat Sevim - avatar
+ 7
Hello!
18th Dec 2017, 2:33 PM
Kartik
Kartik - avatar
+ 6
print(" ".join(map(lambda s:s[::-1],input().split())))
1st Dec 2017, 12:27 PM
VcC
VcC - avatar
3rd Dec 2017, 2:44 AM
Sadun
3rd Dec 2017, 3:43 AM
OR!ON 🛡️
OR!ON 🛡️ - avatar
1st Dec 2017, 2:05 PM
Jonas Schröter
Jonas Schröter - avatar
1st Dec 2017, 2:38 PM
Divesh Singh
Divesh Singh - avatar
+ 5
https://code.sololearn.com/cC5NwGo2GlaL/?ref=app
1st Dec 2017, 8:01 PM
bedawang
bedawang - avatar
+ 5
Here's my attempt to this challenge after some research https://code.sololearn.com/cNXon2Zi8XYz/?ref=app
8th Dec 2017, 9:52 PM
Jonathan Álex
Jonathan Álex - avatar
+ 4
For who have solved this Here's an old challenge by me. https://www.sololearn.com/Discuss/731067/?ref=app
1st Dec 2017, 2:26 PM
Kartik
Kartik - avatar