New course! Every coder should learn Generative AI!
Try a free lesson+ 21
How should I reverse the given value or string to make a Palindrome in python?
7 Answers
+ 13
str[::-1]
+ 14
Thank you all 😄
+ 7
str[::-1]
+ 6
str [::-1]
+ 4
st[::-1]
+ 3
Use str[::-1]
- 2
+10