





'''simple docstring'''




from __future__ import annotations
def 	UpperCAmelCase_							(					__lowercase							:      list[int | float]			,     __lowercase							:      int			,     __lowercase							:      int       )		->       int | float:


     '''simple docstring'''



     if len(__lowercase       ) == 0:
          raise ValueError("find_max() arg is an empty sequence"       )
     if (
         left >= len(__lowercase       )
         or left < -len(__lowercase       )
         or right >= len(__lowercase       )
         or right < -len(__lowercase       )
     ):
          raise IndexError("list index out of range"       )
     if left == right:
          return nums[left]
     _UpperCAmelCase     							=   (left + right) >> 1  # the middle
     _UpperCAmelCase     							=   find_max(__lowercase			,     __lowercase			,     __lowercase       )  # find max in range[left, mid]
     _UpperCAmelCase     							=   find_max(__lowercase			,     mid + 1			,     __lowercase       )  # find max in range[mid + 1, right]

     return left_max if left_max >= right_max else right_max


if __name__ == "__main__":
  import doctest

  doctest.testmod(verbose=True)











'''simple docstring'''




def 	UpperCAmelCase_							(					__lowercase							:      str       )		->       list:


     '''simple docstring'''



     if n_term == "":
          return []
     _UpperCAmelCase     							=   []
     for temp in range(int(__lowercase       )       ):
          series.append(f'1/{temp + 1}' if series else "1"       )
     return series


if __name__ == "__main__":
  __SCREAMING_SNAKE_CASE     :str       =				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))




