






import os
from collections.abc import Iterator





def 					snake_case	(  lowerCamelCase = "."       ):




	'''simple docstring'''







	for dir_path, dir_names, filenames in os.walk(lowerCamelCase       ):
		__lowercase   							=	[d for d in dir_names if d != """scripts""" and d[0] not in """._"""]
		for filename in filenames:
			if filename == "__init__.py":
				continue
			if os.path.splitext(lowerCamelCase       )[1] in (".py", ".ipynb"):
				yield os.path.join(lowerCamelCase					,	lowerCamelCase       ).lstrip("""./"""       )





def 					snake_case	(  lowerCamelCase       ):




	'''simple docstring'''







	return F'{i * "  "}*' if i else "\n##"





def 					snake_case	(  lowerCamelCase					,	lowerCamelCase       ):




	'''simple docstring'''







	__lowercase   							=	old_path.split(os.sep       )
	for i, new_part in enumerate(new_path.split(os.sep       )       ):
		if (i + 1 > len(lowerCamelCase       ) or old_parts[i] != new_part) and new_part:
			print(F'{md_prefix(lowerCamelCase       )} {new_part.replace("_"					,	" "       ).title()}'       )
	return new_path





def 					snake_case	(  lowerCamelCase = "."       ):




	'''simple docstring'''







	__lowercase   							=	""""""
	for filepath in sorted(good_file_paths(lowerCamelCase       )       ):
		__lowercase							,    __lowercase   							=	os.path.split(lowerCamelCase       )
		if filepath != old_path:
			__lowercase   							=	print_path(lowerCamelCase					,	lowerCamelCase       )
		__lowercase   							=	(filepath.count(os.sep       ) + 1) if filepath else 0
		__lowercase   							=	F'{filepath}/{filename}'.replace(""" """					,	"""%20"""       )
		__lowercase   							=	os.path.splitext(filename.replace("""_"""					,	""" """       ).title()       )[0]
		print(F'{md_prefix(lowerCamelCase       )} [{filename}]({url})'       )


if __name__ == "__main__":
						print_directory_md(""".""")




def 			lowerCAmelCase(      SCREAMING_SNAKE_CASE_			,						SCREAMING_SNAKE_CASE_			,						SCREAMING_SNAKE_CASE_			)->						int:



    """simple docstring"""






    if exponent == 1:
        return base
    if exponent % 2 == 0:
        UpperCamelCase_			  =						_modexpt(SCREAMING_SNAKE_CASE_			,						exponent // 2			,						SCREAMING_SNAKE_CASE_			) % modulo_value
        return (x * x) % modulo_value
    else:
        return (base * _modexpt(SCREAMING_SNAKE_CASE_			,						exponent - 1			,						SCREAMING_SNAKE_CASE_			)) % modulo_value




def 			lowerCAmelCase(      SCREAMING_SNAKE_CASE_ = 1_7_7_7			,						SCREAMING_SNAKE_CASE_ = 1_8_5_5			,						SCREAMING_SNAKE_CASE_ = 8			)->						int:



    """simple docstring"""






    UpperCamelCase_			  =						base
    for _ in range(1			,						SCREAMING_SNAKE_CASE_			):
        UpperCamelCase_			  =						_modexpt(SCREAMING_SNAKE_CASE_			,						SCREAMING_SNAKE_CASE_			,						1_0**digits			)

    return result


if __name__ == "__main__":
 print(F'''{solution() = }''')
