Therap BD interview question

Write a recursive function that prints a string backwards.