# reversing a sring using recursion def reverse_recursion(s): if len(s) == 0: return s else: return reverse_recursion(s[1:]) + s[0]