

"""simple docstring"""


from string import ascii_uppercase

UpperCAmelCase													={str(ord(c) - 55): c for c in ascii_uppercase}



def   _A					(	_a	:						int     ,   _a	:						int				):



      """simple docstring"""






      if isinstance(_a     ,   _a				):
            raise TypeError("""int() can't convert non-string with explicit base"""				)
      if num < 0:
            raise ValueError("""parameter must be positive int"""				)
      if isinstance(_a     ,   _a				):
            raise TypeError("""'str' object cannot be interpreted as an integer"""				)
      if isinstance(_a     ,   _a				):
            raise TypeError("""'float' object cannot be interpreted as an integer"""				)
      if base in (0, 1):
            raise ValueError("""base must be >= 2"""				)
      if base > 3_6:
            raise ValueError("""base must be <= 36"""				)
      A				  =		""""""
      A				  =		0
      A				  =		0
      while div != 1:
            A  ,			A				  =		divmod(_a     ,   _a				)
            if base >= 1_1 and 9 < mod < 3_6:
                  A				  =		ALPHABET_VALUES[str(_a				)]
            else:
                  A				  =		str(_a				)
            new_value += actual_value
            A				  =		num // base
            A				  =		div
            if div == 0:
                  return str(new_value[::-1]				)
            elif div == 1:
                  new_value += str(_a				)
                  return str(new_value[::-1]				)

      return new_value[::-1]


if __name__ == "__main__":
  import doctest

  doctest.testmod()

  for base in range(2, 37):
    for num in range(1_000):
      assert int(decimal_to_any(num, base), base) == num, (
          num,
          base,
          decimal_to_any(num, base),
          int(decimal_to_any(num, base), base),
      )







"""simple docstring"""


from math import pow, sqrt



def   _A					(	*_a	:						float				):



      """simple docstring"""






      A				  =		len(_a				) > 0 and all(value > 0.0 for value in values				)
      return result



def   _A					(	_a	:						float     ,   _a	:						float				):



      """simple docstring"""






      return (
          round(sqrt(molar_mass_a / molar_mass_a				)     ,   6				)
          if validate(_a     ,   _a				)
          else ValueError("""Input Error: Molar mass values must greater than 0."""				)
      )



def   _A					(	_a	:						float     ,   _a	:						float     ,   _a	:						float				):



      """simple docstring"""






      return (
          round(effusion_rate * sqrt(molar_mass_a / molar_mass_a				)     ,   6				)
          if validate(_a     ,   _a     ,   _a				)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""				)
      )



def   _A					(	_a	:						float     ,   _a	:						float     ,   _a	:						float				):



      """simple docstring"""






      return (
          round(effusion_rate / sqrt(molar_mass_a / molar_mass_a				)     ,   6				)
          if validate(_a     ,   _a     ,   _a				)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""				)
      )



def   _A					(	_a	:						float     ,   _a	:						float     ,   _a	:						float				):



      """simple docstring"""






      return (
          round(molar_mass / pow(effusion_rate_a / effusion_rate_a     ,   2				)     ,   6				)
          if validate(_a     ,   _a     ,   _a				)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""				)
      )





def   _A					(	_a	:						float     ,   _a	:						float     ,   _a	:						float				):



      """simple docstring"""






      return (
          round(pow(effusion_rate_a / effusion_rate_a     ,   2				) / molar_mass     ,   6				)
          if validate(_a     ,   _a     ,   _a				)
          else ValueError(
              """Input Error: Molar mass and effusion rate values must greater than 0."""				)
      )




