
"""simple docstring"""







def 					__lowerCAmelCase       (_UpperCamelCase ,						_UpperCamelCase = False	):

	if not isinstance(_UpperCamelCase ,						_UpperCamelCase	):
		__lowerCAmelCase    :		str		    =   F"Expected string as input, found {type(_UpperCamelCase	)}"
		raise ValueError(_UpperCamelCase	)
	if not isinstance(_UpperCamelCase ,						_UpperCamelCase	):
		__lowerCAmelCase    :		Union[str, Any]		    =   F"Expected boolean as use_pascal parameter, found {type(_UpperCamelCase	)}"
		raise ValueError(_UpperCamelCase	)

	__lowerCAmelCase    :		Tuple		    =   input_str.split('_'	)

	__lowerCAmelCase    :		int		    =   0 if use_pascal else 1

	__lowerCAmelCase    :		Any		    =   words[start_index:]

	__lowerCAmelCase    :		Any		    =   [word[0].upper() + word[1:] for word in words_to_capitalize]

	__lowerCAmelCase    :		Any		    =   '' if use_pascal else words[0]

	return "".join([initial_word, *capitalized_words]	)


if __name__ == "__main__":
							from doctest import testmod

							testmod()

"""simple docstring"""







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


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