πŸ†πŸ†πŸ†CHALLENGEπŸ†πŸ†πŸ† Playing with Strings | Sololearn: Learn to code for FREE!

+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!!!

12/1/2017 11:36:56 AM

Kartik

33 Answers

New Answer

+14

Here's : https://code.sololearn.com/cP18gJr46on1/?ref=app

+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

+15

Here you go: https://code.sololearn.com/ci3IKF8ie4mN/?ref=app

+12

Python:: print(*[i[::-1] for i in input().split()])

+12

https://code.sololearn.com/c441yaA9vd0v/?ref=app

+11

ES6: alert(prompt("").split(" ").reduce(function(a, b) { return a + " " + b.split("").reverse("").join(""); }, ""));

+9

Here's my try, sorry for being late :) https://code.sololearn.com/cSJ9Ohyn4FqS/?ref=app

+8

https://code.sololearn.com/cKA0cEknhRPd/?ref=app

+8

It's simple in Python: https://code.sololearn.com/c6OByF2XJTZu/

+7

My try: https://code.sololearn.com/cWW3rKd1k3J7/?ref=app

+7

Hello!

+6

print(" ".join(map(lambda s:s[::-1],input().split())))

+6

https://code.sololearn.com/c4aTO22Y67zY/?ref=app

+6

Here's another Python solution https://code.sololearn.com/caBREZjaqaD8/?ref=app

+6

Python One Liner πŸ™Œ https://code.sololearn.com/c8s90IHDmrN5/?ref=app

+5

Here's mine https://code.sololearn.com/c5lw1oabQl2t/?ref=app

+5

Here's my code in py: https://code.sololearn.com/c9vAQ5WP6KHb/?ref=app

+5

https://code.sololearn.com/cC5NwGo2GlaL/?ref=app

+5

Here's my attempt to this challenge after some research https://code.sololearn.com/cNXon2Zi8XYz/?ref=app

+4

For who have solved this Here's an old challenge by me. https://www.sololearn.com/Discuss/731067/?ref=app