



'''simple docstring'''
from string import ascii_lowercase, ascii_uppercase






def A__       (	UpperCAmelCase_				):
						if not sentence:
												return ""
						_UpperCamelCase   :						List[Any]												=  dict(zip(UpperCAmelCase_    ,    UpperCAmelCase_				)				)
						return lower_to_upper.get(sentence[0]    ,    sentence[0]				) + sentence[1:]


if __name__ == "__main__":
					from doctest import testmod

					testmod()







'''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}""")


