Palindromes in Python
>>> string = "Alice"
>>> string[::-1]
'ecilA'
Written by ndarville
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Related Tags
#python
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#