

from __future__ import annotations

from typing import Any



def     lowerCAmelCase__							(		SCREAMING_SNAKE_CASE_:							list[Any]					)	->					None:




				'''simple docstring'''





				create_state_space_tree(SCREAMING_SNAKE_CASE_		,				[]		,				0					)



def     lowerCAmelCase__							(		SCREAMING_SNAKE_CASE_:							list[Any]		,				SCREAMING_SNAKE_CASE_:							list[Any]		,				SCREAMING_SNAKE_CASE_:							int					)	->					None:




				'''simple docstring'''





				if index == len(SCREAMING_SNAKE_CASE_					):
								print(SCREAMING_SNAKE_CASE_					)
								return

				create_state_space_tree(SCREAMING_SNAKE_CASE_		,				SCREAMING_SNAKE_CASE_		,				index + 1					)
				current_subsequence.append(sequence[index]					)
				create_state_space_tree(SCREAMING_SNAKE_CASE_		,				SCREAMING_SNAKE_CASE_		,				index + 1					)
				current_subsequence.pop()


if __name__ == "__main__":
	lowerCAmelCase__		      =       [3, 1, 2, 4]
	generate_all_subsequences(seq)

	seq.clear()
	seq.extend(["""A""", """B""", """C"""])
	generate_all_subsequences(seq)






'''simple docstring'''





def        a_     (							_lowerCAmelCase       )      ->      list:
  if n_term == "":
    return []
  __lowerCamelCase       :       list           = []
  for temp in range(int(_lowerCAmelCase       )       ):
    series.append(F'1/{temp + 1}' if series else '1'       )
  return series


if __name__ == "__main__":
   _UpperCamelCase											=						input('Enter the last number (nth term) of the Harmonic Series')
   print('Formula of Harmonic Series => 1+1/2+1/3 ..... 1/n')
   print(harmonic_series(nth_term))






