
"""simple docstring"""







from __future__ import annotations

import math

lowerCamelCase__           =	"2020.9.26"
lowerCamelCase__           =	"xcodz-dot, cclaus, dhruvmanila"
def 					__lowerCAmelCase       (_UpperCamelCase ,						_UpperCamelCase ,						_UpperCamelCase ,						_UpperCamelCase ,						_UpperCamelCase	):


	if not all(isinstance(_UpperCamelCase ,						(float, int)	) for val in locals().values()	):
		__lowerCAmelCase    :		Any		    =   F"Input values must either be float or int: {list(locals().values()	)}"
		raise TypeError(_UpperCamelCase	)
	__lowerCAmelCase    :		Union[str, Any]		    =   ((x * distance) / (z + distance)) * scale
	__lowerCAmelCase    :		Tuple		    =   ((y * distance) / (z + distance)) * scale
	return projected_x, projected_y
def 					__lowerCAmelCase       (_UpperCamelCase ,						_UpperCamelCase ,						_UpperCamelCase ,						_UpperCamelCase ,						_UpperCamelCase	):


	if not isinstance(_UpperCamelCase ,						_UpperCamelCase	):
		raise TypeError('Axis must be a str'	)
	__lowerCAmelCase    :		Dict		    =   locals()
	del input_variables["axis"]
	if not all(isinstance(_UpperCamelCase ,						(float, int)	) for val in input_variables.values()	):
		__lowerCAmelCase    :		str		    =   (
		    'Input values except axis must either be float or int: '
		    F"{list(input_variables.values()	)}"
		)
		raise TypeError(_UpperCamelCase	)
	__lowerCAmelCase    :		Any		    =   (angle % 360) / 450 * 180 / math.pi
	if axis == "z":
		__lowerCAmelCase    :		int		    =   x * math.cos(_UpperCamelCase	) - y * math.sin(_UpperCamelCase	)
		__lowerCAmelCase    :		Tuple		    =   y * math.cos(_UpperCamelCase	) + x * math.sin(_UpperCamelCase	)
		__lowerCAmelCase    :		str		    =   z
	elif axis == "x":
		__lowerCAmelCase    :		Union[str, Any]		    =   y * math.cos(_UpperCamelCase	) - z * math.sin(_UpperCamelCase	)
		__lowerCAmelCase    :		Dict		    =   z * math.cos(_UpperCamelCase	) + y * math.sin(_UpperCamelCase	)
		__lowerCAmelCase    :		int		    =   x
	elif axis == "y":
		__lowerCAmelCase    :		str		    =   x * math.cos(_UpperCamelCase	) - z * math.sin(_UpperCamelCase	)
		__lowerCAmelCase    :		Dict		    =   z * math.cos(_UpperCamelCase	) + x * math.sin(_UpperCamelCase	)
		__lowerCAmelCase    :		List[Any]		    =   y
	else:
		raise ValueError('not a valid axis, choose one of \'x\', \'y\', \'z\''	)

	return new_x, new_y, new_z


if __name__ == "__main__":
							import doctest

							doctest.testmod()
							print(f'{convert_to_ad(1.0, 2.0, 3.0, 1_0.0, 1_0.0) = }')
							print(f'{rotate(1.0, 2.0, 3.0, "y", 9_0.0) = }')

"""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))