


def    snake_case_     (  snake_case     )  ->				list:
       if n_term == "":
              return []
       lowercase__:   list  			=   []
       for temp in range(int(snake_case     )     ):
              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))






import math




def    snake_case_     (  snake_case			,							snake_case     )  ->				float:
       return math.pow(snake_case			,							2     ) - a




def    snake_case_     (  snake_case     )  ->				float:
       return 2 * x




def    snake_case_     (  snake_case     )  ->				float:
       lowercase__:   Dict  			=   2.0

       while start <= a:
              lowercase__:   str  			=   math.pow(snake_case			,							2     )

       return start




def    snake_case_     (  snake_case			,							snake_case = 99_99			,							snake_case = 0.0_0_0_0_0_0_0_0_0_0_0_0_0_1     )  ->				float:

       if a < 0:
              raise ValueError('math domain error'     )

       lowercase__:   Tuple  			=   get_initial_point(snake_case     )

       for _ in range(snake_case     ):
              lowercase__:   List[Any]  			=   value
              lowercase__:   Any  			=   value - fx(snake_case			,							snake_case     ) / fx_derivative(snake_case     )
              if abs(prev_value - value     ) < tolerance:
                     return value

       return value


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

 testmod()


