




'''simple docstring'''

from __future__ import annotations


def 						__magic_name__       (      __UpperCAmelCase, __UpperCAmelCase      )						->   list[str]:

					'''simple docstring'''

					if nth_term == "":
										return [""]
					snake_case_		     =							int(__UpperCAmelCase      )
					snake_case_		     =							int(__UpperCAmelCase      )
					snake_case_		     =							[]
					for temp in range(int(__UpperCAmelCase      )      ):
										series.append(F"1 / {pow(temp + 1, int(__UpperCAmelCase      )      )}" if series else '''1'''      )
					return series


if __name__ == "__main__":
							import doctest

							doctest.testmod()

							a    :							Union[str, Any]										=    int(input('Enter the last number (nth term) of the P-Series'))
							a    :							Tuple										=    int(input('Enter the power for  P-Series'))
							print('Formula of P-Series => 1+1/2^p+1/3^p ..... 1/n^p')
							print(p_series(nth_term, power))







'''simple docstring'''

from numpy import exp, pi, sqrt


def 						__magic_name__       (      __UpperCAmelCase, __UpperCAmelCase = 0.0, __UpperCAmelCase = 1.0      )						->   int:

					'''simple docstring'''

					return 1 / sqrt(2 * pi * sigma**2      ) * exp(-((x - mu) ** 2) / (2 * sigma**2)      )


if __name__ == "__main__":
							import doctest

							doctest.testmod()

