


from __future__ import annotations

from typing import Any
def     __lowerCamelCase						(			UpperCAmelCase_						:		list[Any]						):




      """simple docstring"""





      create_state_space_tree(UpperCAmelCase_			,  []			,  0						)
def     __lowerCamelCase						(			UpperCAmelCase_						:		list[Any]			,  UpperCAmelCase_						:		list[Any]			,  UpperCAmelCase_						:		int						):




      """simple docstring"""





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

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


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

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









def     __lowerCamelCase						(			UpperCAmelCase_						:		str						):




      """simple docstring"""





      if n_term == "":
            return []
      a						:list										=	[]
      for temp in range(int(UpperCAmelCase_						)						):
            series.append(F'''1/{temp + 1}''' if series else '''1'''						)
      return series


if __name__ == "__main__":
     snake_case    :   Tuple	    =					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))





