from __future__ import annotations


def      a__ (		__UpperCamelCase     ,      __UpperCamelCase				):
						if nth_term == "":
												return [""]
						SCREAMING_SNAKE_CASE_          =  int(__UpperCamelCase				)
						SCREAMING_SNAKE_CASE_          =  int(__UpperCamelCase				)
						SCREAMING_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     :  Union[str, Any]					     =       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))



from typing import Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version


def      a__ (		__UpperCamelCase     ,      __UpperCamelCase     ,      __UpperCamelCase = None				):
      if version.parse(hfh.__version__				).release < version.parse("0.11.0"				).release:
            # old versions of hfh don't url-encode the file path
            SCREAMING_SNAKE_CASE_          =  quote(__UpperCamelCase				)
      return hfh.hf_hub_url(__UpperCamelCase     ,      __UpperCamelCase     ,      repo_type="dataset"     ,      revision=__UpperCamelCase				)


