




"""simple docstring"""






from __future__ import annotations





def 				UpperCAmelCase		(		snake_case      :       str   ,							snake_case      :       Dict     ):
					_lowerCAmelCase:List[Any]						=	[]
					create_all_state(1   ,							snake_case   ,							snake_case   ,							[]   ,							snake_case     )
					return result





def 				UpperCAmelCase		(		snake_case      :       Dict   ,							snake_case      :       Union[str, Any]   ,							snake_case      :       Tuple   ,							snake_case      :       Optional[int]   ,							snake_case      :       int   ,							):


					if level == 0:
										total_list.append(current_list[:]     )
										return

					for i in range(snake_case   ,							total_number - level + 2     ):
										current_list.append(snake_case     )
										create_all_state(i + 1   ,							snake_case   ,							level - 1   ,							snake_case   ,							snake_case     )
										current_list.pop()





def 				UpperCAmelCase		(		snake_case      :       Optional[int]     ):


					for i in total_list:
										print(*snake_case     )


if __name__ == "__main__":
				UpperCamelCase__    =      4
				UpperCamelCase__    =      2
				UpperCamelCase__    =      generate_all_combinations(n, k)
				print_all_state(total_list)













'''simple docstring'''






import os


# All paths are set with the intent you should run this script from the root of the repo with the command
# python utils/check_doctest_list.py
A__							:  Optional[int]    ='''.'''


if __name__ == "__main__":
      A__							:  int    =os.path.join(REPO_PATH, '''utils/documentation_tests.txt''')
      A__							:  Optional[int]    =[]
      A__							:  Tuple    =[]
      with open(doctest_file_path) as fp:
            for line in fp:
                  A__							:  Optional[Any]    =line.strip()
                  A__							:  Union[str, Any]    =os.path.join(REPO_PATH, line)
                  if not (os.path.isfile(path) or os.path.isdir(path)):
                        non_existent_paths.append(line)
                  all_paths.append(path)
      if len(non_existent_paths) > 0:
            A__							:  List[Any]    ='''\n'''.join(non_existent_paths)
            raise ValueError(F"""`utils/documentation_tests.txt` contains non-existent paths:\n{non_existent_paths}""")
      if all_paths != sorted(all_paths):
            raise ValueError('''Files in `utils/documentation_tests.txt` are not in alphabetical order.''')






