+ 1

How can I make a string backwords in python.

Eample Input-. Hello Output- olleH

23rd Jul 2020, 4:54 PM
Amit Kumar
Amit Kumar - avatar
3 Respostas
+ 8
x= " Hello " print(x[::-1]) ---------------------------------------------------------- This what you need I think. It's very simple. I'll recommend you to go through your python course once 😅 Thanks and Happy Coding 👍
23rd Jul 2020, 4:55 PM
Nilesh
Nilesh - avatar
+ 7
NiLesh☕︎ print(input()[::-1]) #xD
23rd Jul 2020, 5:14 PM
Atul
Atul - avatar
0
Thank u,😅
23rd Jul 2020, 4:57 PM
Amit Kumar
Amit Kumar - avatar