In Python reversing of a string how can it be done | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In Python reversing of a string how can it be done

Python

25th Mar 2020, 11:14 AM
Junior@@
Junior@@ - avatar
3 Answers
+ 4
print('Hello'[::-1])
25th Mar 2020, 11:16 AM
HonFu
HonFu - avatar
+ 3
Before we can help you, you kindly should try it yourself in playground, and link your code here. Thank's a lot!
25th Mar 2020, 11:17 AM
Lothar
Lothar - avatar
0
My dia I tried but I failed
27th Mar 2020, 3:13 PM
Junior@@
Junior@@ - avatar