






import re

from filelock import FileLock


try:
  import nltk

  __a:     Any   					=					True
except (ImportError, ModuleNotFoundError):
  __a:     Optional[int]   					=					False

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




def       _SCREAMING_SNAKE_CASE (							__snake_case )				->						str:
       re.sub("""<n>"""   ,      """"""   ,      __snake_case )  # 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(__snake_case ) )


def   __UpperCAmelCase					(      __a :     str      )     ->	list:

					"""simple docstring"""

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


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



