human
Write you own Power without using multiplication ( * ) and division ( / ) operators | A recursive function to get x * y *.
.
driver program to test above functions *"
Solution in Python:
 Write me a code to write you own Power without using multiplication ( * ) and division ( / ) operators and the other steps required?
assistant
#Here is code to write you own Power without using multiplication ( * ) and division ( / ) operators and the other steps required.
 def multiply ( x , y ) :
	if ( y ) :
		return ( x + multiply ( x , y - 1 ) ) ;
	else :
		return 0 ;
def pow ( a , b ) :
	if ( b ) :
		return multiply ( a , pow ( a , b - 1 ) ) ;
	else :
		return 1 ;
print ( pow ( 5 , 3 ) ) ;