Solve problem in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Solve problem in python

Input->hello brother Output->rehtorb olleh Just opposite ,but alternative word

2nd Jul 2020, 12:55 PM
Prahlad Gaur
Prahlad Gaur - avatar
2 Answers
+ 1
Hey Prahlad Gaur🇮🇳 You Wanna Reverse Your String Right. Here Is The Solution Of Your Query : x=input() x=x[::-1] print(x)
2nd Jul 2020, 1:02 PM
Rahul Saxena
Rahul Saxena - avatar
+ 4
2nd Jul 2020, 1:04 PM
Arctic Fox
Arctic Fox - avatar