Forums

Reasons for Joy; In Gentleness, and Respect.

Profile of Student_t

Summary

Summary

Student_t Member

Offline Offline
Posts:
89 (0.030 per day)
Gender:
Female
Age:
27
Date Registered:
June 08, 2013, 02:04:15 pm
Local Time:
June 18, 2021, 07:53:15 pm
Last Active:
August 24, 2013, 09:35:37 am
Signature:
Try the following program:

def recursive_fun(s='noititsrepus si dog'):
   if len(s) == 0:
      return ''
   else:
      return recursive_fun(s[1:]) + s[0]