There is no built in reverse function for Python\'s str object. What is the best way of implementing this method?
reverse
str
If supplying a very conci
def rev_string(s): return s[::-1]
def rev_string(s): return ''.join(reversed(s))
def rev_string(s): if len(s) == 1: return s return s[-1] + rev_string(s[:-1])