WebKul interview question

Recursion in Python, string reversal