



'''simple docstring'''
from ..utils import DummyObject, requires_backends






class 				lowercase__      (				metaclass=lowercase  ):
	lowercase__    							=     ["""keras_nlp"""]





	def __init__(					self   :							Dict					,*lowerCamelCase__   :							List[str]					,**lowerCamelCase__   :							Any					):







							'''simple docstring'''
							requires_backends(self					,['keras_nlp']					)







'''simple docstring'''
def A__       (	UpperCAmelCase_    ,    UpperCAmelCase_				):
						return base * power(UpperCAmelCase_    ,    (exponent - 1)				) if exponent else 1


if __name__ == "__main__":
					print('Raise base to the power of exponent using recursion...')
					snake_case_					:      int    			=    int(input('Enter the base: ').strip())
					snake_case_					:      Optional[int]    			=    int(input('Enter the exponent: ').strip())
					snake_case_					:      Optional[int]    			=    power(base, abs(exponent))
					if exponent < 0:  # power() does not properly deal w/ negative exponents
										snake_case_					:      List[Any]    			=    1 / result
					print(F"""{base} to the power of {exponent} is {result}""")


