human
Print reverse of a string using recursion | Function to print reverse of the passed string.
Driver program to test above function"
Solution in Python:
assistant
#Here is code to print reverse of a string using recursion and the other steps required.
 def reverse ( string ) :
	if len ( string ) == 0 :
		return
	temp = string [ 0 ]
	reverse ( string [ 1 : ] )
	print ( temp , end = ' ' )
string = " Geeks ▁ for ▁ Geeks "
reverse ( string )