Medium
Recursive Reverse
Write a recursive function that reverses a string (no slicing with [::-1]).
Input
One word.
Output
The reversed word.
Sample 1
Input
hello
Output
olleh
Sample 2
Input
a
Output
a
Output appears hereOne word.
The reversed word.
hello
olleh
a
a
Output appears here