0

Code to reverse a string

Write the code

2nd Apr 2020, 6:11 PM
Amitesh Singh
Amitesh Singh - avatar
2 Answers
+ 3
x='hello' print(x[::-1])
2nd Apr 2020, 6:12 PM
Tricker
+ 1
Thank you
2nd Apr 2020, 6:13 PM
Amitesh Singh
Amitesh Singh - avatar