


"""simple docstring"""


import re

from filelock import FileLock


try:
	import nltk

	A     :   str			    =			True
except (ImportError, ModuleNotFoundError):
	A     :   Optional[int]			    =			False

if NLTK_AVAILABLE:
	with FileLock(".lock") as lock:
		nltk.download("punkt", quiet=True)


def _lowerCamelCase	(		_UpperCamelCase      ):

			'''simple docstring'''




			re.sub("<n>"    , ""    , _UpperCamelCase      )  # remove pegasus newline char
			assert NLTK_AVAILABLE, "nltk must be installed to separate newlines between sentences. (pip install nltk)"
			return "\n".join(nltk.sent_tokenize(_UpperCamelCase      )      )










def 				lowerCAmelCase_	(     snake_case_     ):
      if n_term == "":
            return []
      _A							:     list			=						[]
      for temp in range(int(snake_case_     )     ):
            series.append(f'''1/{temp + 1}''' if series else """1"""     )
      return series


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

