PY
py
1
2
3
4
5
6
7
8
9
10
11
12
"""
🏆🏆🏆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!!!
"""
for each in input().split():
print(each[::-1],end=' ')
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run