>>> s = "abcdefg" 1. >>> s[::-1] 2. >>> a=list(s) >>> a.reverse() >>> "".join(a) 3. >>> reduce(lambda x,y:y+x,s)